Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Annoying matplotlib deprecation warnings #441

Closed
gridley opened this issue Sep 19, 2019 · 3 comments
Closed

Annoying matplotlib deprecation warnings #441

gridley opened this issue Sep 19, 2019 · 3 comments

Comments

@gridley
Copy link
Contributor

gridley commented Sep 19, 2019

To see the issue, run any case which makes plots using matplotlib 3 or above. My particular version is 3.1.1.

How can we make this go away?

/home/gavin/.local/lib/python3.6/site-packages/openmoc/plotter.py:1323: MatplotlibDeprecationWarning: 
The examples.directory rcparam was deprecated in Matplotlib 3.0 and will be removed in 3.2. In the future, examples will be found relative to the 'datapath' directory.
  curr_rc = dict(matplotlib.rcParams)
/usr/lib/python3.6/_collections_abc.py:841: MatplotlibDeprecationWarning: 
The examples.directory rcparam was deprecated in Matplotlib 3.0 and will be removed in 3.2. In the future, examples will be found relative to the 'datapath' directory.
  self[key] = other[key]
/usr/lib/python3.6/_collections_abc.py:841: MatplotlibDeprecationWarning: 
The savefig.frameon rcparam was deprecated in Matplotlib 3.1 and will be removed in 3.3.
  self[key] = other[key]
/usr/lib/python3.6/_collections_abc.py:841: MatplotlibDeprecationWarning: 
The text.latex.unicode rcparam was deprecated in Matplotlib 3.0 and will be removed in 3.2.
  self[key] = other[key]
/usr/lib/python3.6/_collections_abc.py:841: MatplotlibDeprecationWarning: 
The verbose.fileo rcparam was deprecated in Matplotlib 3.1 and will be removed in 3.3.
  self[key] = other[key]
/usr/lib/python3.6/_collections_abc.py:841: MatplotlibDeprecationWarning: 
The verbose.level rcparam was deprecated in Matplotlib 3.1 and will be removed in 3.3.

Seems related to this.

@GiudGiud
Copy link
Contributor

The issue you linked to has a fix. Making a PR soon

@gridley
Copy link
Contributor Author

gridley commented Oct 18, 2019

Nice! I was thinking about doing this so thanks for the heads up.

@GiudGiud
Copy link
Contributor

Addressed in #444

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants