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

BandsData.show_mpl() throws a warning related to matplotlib fonts #2901

Closed
borellim opened this issue May 22, 2019 · 0 comments · Fixed by #2902
Closed

BandsData.show_mpl() throws a warning related to matplotlib fonts #2901

borellim opened this issue May 22, 2019 · 0 comments · Fixed by #2902

Comments

@borellim
Copy link
Member

borellim commented May 22, 2019

From the bandstructure.ipynb tutorial:

fermi_energy = results['scf_parameters'].dict.fermi_energy
results['band_structure'].show_mpl(y_origin=fermi_energy, plot_zero_axis=True)

Prints:

/home/aiidatests/venvs/aiida_py3.6/lib/python3.6/site-packages/matplotlib/font_manager.py:1241: UserWarning: findfont: Font family ['serif'] not found. Falling back to DejaVu Sans.
  (prop.get_family(), self.defaultFamily[fontext]))

This might be related: matplotlib/matplotlib#13139

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 a pull request may close this issue.

1 participant