schlichtanders.mymatplotlib module¶
plotting helpers
-
class
schlichtanders.mymatplotlib.Centre(midpoint=0, vmin=None, vmax=None, clip=False)[source]¶ Bases:
sphinx.ext.autodoc.Normalizea Normalizer which centers a colorbar, etc., around a midpoint
-
schlichtanders.mymatplotlib.add_point(hl, x, y, update_fig=True)[source]¶ adds a value to a given line handle in a dynamic way
-
schlichtanders.mymatplotlib.add_val(hl, val, iteration_nr=None, update_fig=True)[source]¶ adds a value to a given line handle with x=#iteartion in a dynamic way
default iteration nr is extracted from
hl
-
schlichtanders.mymatplotlib.gca()[source]¶ this version of gca won’t create a new axis if none exists, however return None instead