Are you using IPython QtConsole / Notebook? I think they have their
own settings on their backend.

Shawn

On Tue, May 19, 2015 at 11:01 AM, mato <mato_pavlo...@yahoo.com> wrote:
> I want to change the look of the default plots in Python, so I created the
> file matplotlibrc in the current working directory (Windows 7). The file
> gets loaded:
>
> /import matplotlib as mp
> print('Config. file loaded from:', mp.matplotlib_fname())/
>
> prints:
>
> /Config. file loaded from:
> C:\Users\mato\Documents\Python_Scripts\matplotlibrc/
>
> however, the plot is unaffected.
>
> The simple code:
>
> /import matplotlib.pyplot as plt
> x = [1,2,3,4,5]
> plt.plot(x)/
>
> with the matplotlibrc file that looks like this:
>
> /lines.linestyle   : --
> axes.grid         : True/
>
> yields the plot with the solid line and no grid in the plot. What am I
> missing?
>
> Note:
> If I insert
>
> /plt.rcParams['axes.grid']=True
> plt.rcParams['lines.linestyle']='--' /
>
> in the code, it works as expected
>
>
>
>
> --
> View this message in context: 
> http://matplotlib.1069221.n5.nabble.com/matplotlibrc-has-no-effect-on-the-plot-windows7-tp45573.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users



-- 
Yuxiang "Shawn" Wang
Gerling Research Lab
University of Virginia
yw...@virginia.edu
+1 (434) 284-0836
https://sites.google.com/a/virginia.edu/yw5aj/

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to