Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
matplotlib 2.0.0 not using matplotlibrc file in IPython #7951
Comments
|
What is |
sagittariusA1
commented
Jan 26, 2017
|
|
|
@sagittariusA1 could you post the contents of your RC file? |
nmayorov
commented
Feb 3, 2017
|
Actually I have this too, my matplotlibrc is very simple: |
tacaswell
added this to the
2.0.1 (next bug fix release)
milestone
Feb 3, 2017
tacaswell
added the
Release critical
label
Feb 3, 2017
|
@nmayorov Are you using the inline backend? Sometime IPython overrides the rcparam values. |
tacaswell
added needs clarification and removed Release critical
labels
Mar 13, 2017
|
Where is the edited matplotlibrc file located? |
sagittariusA1
commented
Mar 13, 2017
|
Hi all, I found the reason why my matplotlibrc parameters were not updating properly. As it turns out, I just simply forgot to remove the '#' character from the parameter lines I changed. A mental lapse on my part I guess. Thanks for all of your help! |
sagittariusA1 commentedJan 26, 2017
I recently upgraded from matplotlib v1.5.3 from v2.0.0, but with this change, it seems that matplotlib no longer uses my edited matplotlibrc file when plotting figures. When I open the matplotlibrc file in a text editor, I see that my changes are in fact implemented in the file, but when I type matplotlib.rcParams, these changes are not displayed. matplotlib.rcParams only displays the default parameters. Thinking that maybe it was looking at a different matplotlibrc file, I ran matplotlib.matplotlib_fname(), but this points to the same directory of my edited matplotlibrc file.
Does anyone know what's going on here?
FYI, I am running matplotlib 2.0.0 in Python 2.7.12 with IPython 5.1.0. To open matplotlib in IPython, I utilize first the command %matplotlib.