Darren Dale wrote: > On Monday 30 July 2007 6:58:17 pm Eric Firing wrote: >> Darren, >> >> It looks like there is a problem with the grid lines. Although the >> matplotlib.conf file is specifying linestyle = ':', and False for the >> axes.grid parameter, everything is coming up with solid lines (see >> barh_demo.py, for example) by default. It looks like those two keys are >> not setting their respective rcParams entries. > > barh_demo turns the grid on. I accidentally set the default linestyle to '-' > in mplconfig for the grids, thats been fixed.
Darren, barh_demo turns the grid on for the first plot only, but the grid is shown for both. ipython -pylab also plots with a grid by default, and shows In [3]:rcParams['axes.grid'] Out[3]:True I have not made any matplotlib.conf other than the one that is now being installed correctly in mpl-data, and it contains # display grid on regular or polar axes grid = False polargrid = True grep indicates the True value is coming from mplconfig: config/mplconfig.py: grid = T.Trait(True, mplT.BoolHandler()) config/rcsetup.py: 'axes.grid' : [False, validate_bool] so it looks like somehow this mplconfig initialization is overriding the value in matplotlib.conf. Eric ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel