Skip to content

Fix Hera plotting#156

Merged
grantfirl merged 1 commit into
NCAR:dtc/developfrom
grantfirl:hera_plotting_fix
Jan 23, 2020
Merged

Fix Hera plotting#156
grantfirl merged 1 commit into
NCAR:dtc/developfrom
grantfirl:hera_plotting_fix

Conversation

@grantfirl
Copy link
Copy Markdown
Collaborator

Hera uses an older version of the Pandas package where the following line causes an error:
pandas.plotting.register_matplotlib_converters()

This line was added because not having it there with newer versions of Pandas leads to a "Future Warning". This was put in a try block.

Also, it appears that Hera doesn't have dvipng installed, which is needed to render LaTeX in plots and save as a PNG file. The file format has been changed back to using PDF instead.

Note: This should be merged after the short course since instructions mention PNG, and the AMI has no problem with plotting PNGs.

@grantfirl
Copy link
Copy Markdown
Collaborator Author

@ligiabernardet This should fix python plotting on Hera for after the short course.

@ligiabernardet
Copy link
Copy Markdown
Collaborator

Thank you!

@grantfirl grantfirl merged commit 8d7f62e into NCAR:dtc/develop Jan 23, 2020
dustinswales pushed a commit to dustinswales/ccpp-scm that referenced this pull request May 16, 2022
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

Successfully merging this pull request may close these issues.

3 participants