eggshell.plot.plt_utils
¶
Module Contents¶
-
eggshell.plot.plt_utils.
fig2plot
(fig, file_extension='png', dir_output='.', bbox_inches='tight', dpi=300, facecolor='w', edgecolor='k', figsize=(20, 10))[source]¶ saving a matplotlib figure to a graphic
Parameters: - fig – matplotlib figure object
- dir_output – directory of output plot
- file_extension – file file_extension (default=’png’)
Return str: path to graphic
-
class
eggshell.plot.plt_utils.
MidpointNormalize
(vmin=None, vmax=None, midpoint=None, clip=False)[source]¶ Bases:
matplotlib.colors.Normalize