From: Francesco M. <fra...@go...> - 2012-04-27 14:12:05
|
Dear matplotlibers, I know almost nothing about mpl_toolkits (matplolib.__version__ = 1.1.0). >From the help of "mpl_toolkits.axisartist.floating_axes.FloatingSubplot", the init function reads __init__(self, fig, *args, **kwargs) In the example here (http://matplotlib.sourceforge.net/examples/axes_grid/demo_floating_axes.html) the object is initialised as FloatingSubplot(fig, rect, grid_helper=grid_helper) If I take out 'grid_helper' I get this error: "ValueError: FloatingAxes requires grid_helper argument" In my understanding, **kwargs (like grid_helper) are optional arguments and I think that 'required' options do not make much sense. Besides its not documented in the help of the class. Could grid_helper be upgraded to *args? Cheers, Francesco |