Re: [matplotlib-devel] Reorganizing axes plot methods

2013-07-11 Thread Anton Akhmerov
Eric Firing writes: > > Anton, > > Yes, I have done things like that in my own code, and basemap has a > similar ability to call gca() when an Axes is not supplied. One can > even perform the pyplot import on an as-needed basis instead of raising > an error. Nevetheless, it still represents

Re: [matplotlib-devel] Reorganizing axes plot methods

2013-07-10 Thread Anton Akhmerov
Eric Firing writes: > This would require pyplot to be imported by everything, wouldn't it? > That would completely defeat the strategy of having an OO level that > doesn't know about pyplot at all, and then having pyplot be the thin top > layer. Requiring pyplot isn't necessary, instead one m

Re: [matplotlib-devel] MEP10: Modernizing the documentation

2012-08-27 Thread Anton Akhmerov
Michael Droettboom writes: > > On 08/26/2012 05:33 AM, Anton Akhmerov wrote: > > Michael Droettboom writes: > > > >> > >> > >> Working with the documentation this past week has me a little > >> frustrated with the state

Re: [matplotlib-devel] MEP10: Modernizing the documentation

2012-08-26 Thread Anton Akhmerov
Michael Droettboom writes: > > > > Working with the documentation this past week has me a little > frustrated with the state of it.  Enough to write a MEP.  https://github.com/matplotlib/matplotlib/wiki/Mep10 > In particular, it would be nice to compile a list of concerns abou

[matplotlib-devel] Axes.hlines cleanup

2012-08-05 Thread Anton Akhmerov
t conversion is used? By the way, units.ConversionInterface could benefit from using python abc abstract base classes module. Does it make sense to add? * Finally, does it make sense to combine hlines and vlines? Best regards,

Re: [matplotlib-devel] Backends object structure

2012-08-01 Thread Anton Akhmerov
To give a little bit more context, I want to implement a function which attaches a figure constructed via OO interface to pyplot. It seems that the only way to do so now is to go over all the backends, modify new_figure_manager to accept a figure argument, detect the backend used by pyplot, and u

[matplotlib-devel] Backends object structure

2012-08-01 Thread Anton Akhmerov
Hi everyone, I was looking at the matplotlib backends, and I have a question about the way things are organized. As of now every backend has: * FigureManager, which corresponds to a figure + canvas + renderer + sometimes FigureFrame. * Canvas, which contains a single figure and a renderer. Th