Sorry, I accidentally sent an incomplete email. here is a complete one.
I sometimes use a custom Axes class, and want to use it with add_subplot() command. As a matter of fact, it IS possible with current version of matplotlib but it seems a bit inconvenient to me. Here is what I may do. import matplotlib.axes as maxes class MyAxes(maxes.Axes): name="myaxes" # some definitions import matplotlib.projections matplotlib.projections.register_projection(MyAxes) F = figure() ax = F.add_subplot(1,2,2, projection="myaxes") But it would much better if I can simply do something like class MyAxes(maxes.Axes): # some definitions F = figure() ax = F.add_subplot(1,2,2, axes_class=MyAxes) It seems rather straight forward to implement "axes_class" keyword in add_subplot() and I may make a patch for it. So, how does others think? Regards, -JJ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel