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