pyEPR.toolbox.plotting module¶
Created on Fri Aug 25 19:30:12 2017
Plotting snippets and useful functions
@author: Zlatko K. Minev
-
pyEPR.toolbox.plotting.
legend_translucent
(ax: matplotlib.axes._axes.Axes, values=[], loc=0, alpha=0.5, leg_kw={})[source]¶ values = [ [“%.2f” %k for k in RES] ]
Also, you can use the following: leg_kw = dict(fancybox =True, fontsize = 9,
framealpha =0.5, ncol = 1)blah.plot().legend(**leg_kw )
-
pyEPR.toolbox.plotting.
cmap_discrete
(n, cmap_kw={})[source]¶ Discrete colormap. cmap_kw = dict(colormap = plt.cm.gist_earth, start = 0.05, stop = .95)
helix = True, Allows us to instead call helix from here