diff --git a/src/yapsut/graphics.py b/src/yapsut/graphics.py index 8b77594ddcd1cef92a9c8cc2a2f5ff06c703c4e8..d1bc36cc635aedf056e6515cef86ae2cc36909d6 100644 --- a/src/yapsut/graphics.py +++ b/src/yapsut/graphics.py @@ -267,6 +267,10 @@ class StandardFig() : from matplotlib import pyplot as plt aa=plt.gca().get_yticklabels() if ax is None else ax.get_yticklabels() for k in aa : k.set_fontsize(self.fontsize_ticks) + def gridspec(self,nrows,ncols,**kargs) : + """ generates a GridSpec array. See matplotlib.gridspec.GridSpec """ + import matplotlib.gridspec as gridspec + return gridspec.GridSpec(nrows,ncols,**kargs) # # metadata PROPERTIES @property