[NumPy-Tickets] [NumPy] #1074: Merge plot_directive back to Matplotlib

NumPy Trac numpy-tickets@scipy....
Thu Mar 31 14:53:04 CDT 2011

#1074: Merge plot_directive back to Matplotlib
 Reporter:  pv                        |       Owner:  mdroe      
     Type:  task                      |      Status:  new        
 Priority:  normal                    |   Milestone:  Unscheduled
Component:  Documentation             |     Version:  devel      
 Keywords:  plot_directive sphinxext  |  

Comment(by mdroe):

 The "merged" matplotlib plot_directive in my personal branch here:


 is now able to build the Numpy docs getting the same results as the numpy
 plot_directive (barring some differences in hash values and ordering in

 Since the matplotlib plot_directive clears the rcParam state after every
 plot (and in face relies on this behavior), I added a new configuration
 variable so numpy can set its custom rcParams.  This requires a very minor
 change in numpy's conf.py, as shown in this pull request:


 Once matplotlib incorporates the new "merged" plot_directive, and makes a
 release with it, Numpy should update accordingly to use it -- or perhaps
 do some matplotlib version checking to use either its plot_directive or
 the existing one that ships with numpy.

Ticket URL: <http://projects.scipy.org/numpy/ticket/1074#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list