Skip to content

Docs emit warnings when building #18615

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

Open
brunobeltran opened this issue Sep 30, 2020 · 3 comments
Open

Docs emit warnings when building #18615

brunobeltran opened this issue Sep 30, 2020 · 3 comments
Assignees
Labels
keep Items to be ignored by the “Stale” Github Action Maintenance

Comments

@brunobeltran
Copy link
Contributor

Describe the issue

Just a place for me to track these so that I know which are expected and which are due to my own mistakes.

Summary

On master, building the docs on the latest arch using a fresh install of Miniconda produces the following warnings

generating gallery for gallery/subplots_axes_and_figures... [ 73%] secondary_axis.py
/home/bbeltr1/developer/matplotlib/examples/subplots_axes_and_figures/secondary_axis.py:65: RuntimeWarning: divide by zero encountered in true_divide
  return 1 / x
...
generating gallery for gallery/text_labels_and_annotations... [ 95%] usetex_baseline_test.py
/home/bbeltr1/.miniconda/envs/mpl/lib/python3.8/_collections_abc.py:832: MatplotlibDeprecationWarning:
The text.latex.preview rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
  self[key] = other[key]
/home/bbeltr1/.miniconda/envs/mpl/lib/python3.8/_collections_abc.py:832: MatplotlibDeprecationWarning:
The text.latex.preview rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
  self[key] = other[key]
/home/bbeltr1/.miniconda/envs/mpl/lib/python3.8/_collections_abc.py:832: MatplotlibDeprecationWarning:
The text.latex.preview rcparam was deprecated in Matplotlib 3.3 and will be removed two minor releases later.
  self[key] = other[key]
...
generating gallery for gallery/animation... [100%] unchained.py
Animation size has reached 21248909 bytes, exceeding the limit of 20971520.0. If you're sure you want a larger animation embedded, set the animation.embed_limit rc parameter to a larger value (in MB). This and further frames will be dropped.
...
/home/bbeltr1/.miniconda/envs/mpl/lib/python3.8/site-packages/sphinx_gallery/scrapers.py:151: UserWarning: Plotting microsecond time intervals for dates far from the epoch (time origin: 0000-12-31T00:00:00) is not well-supported. See matplotlib.dates.set_epoch to change the epoch.
...
reading sources... [  6%] api/_as_gen/matplotlib.axes.Axes.axvspan
<string>:6: RuntimeWarning: divide by zero encountered in true_divide

In addition, findfont fails on the following (even though I have all these fonts installed). Presumably though, this part is my own fault.

generating gallery for gallery/text_labels_and_annotations... [ 48%] fonts_demo.py
findfont: Font family ['cursive'] not found. Falling back to DejaVu Sans.
findfont: Font family ['fantasy'] not found. Falling back to DejaVu Sans.
...
generating gallery for gallery/showcase... [100%] xkcd.py
findfont: Font family ['xkcd', 'xkcd Script', 'Humor Sans', 'Comic Neue', 'Comic Sans MS'] not found. Falling back to DejaVu Sans.
...
generating gallery for tutorials/text... [ 16%] text_intro.py
findfont: Font family ['Times New Roman'] not found. Falling back to DejaVu Sans.
@github-actions
Copy link

This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!

@github-actions github-actions bot added the status: inactive Marked by the “Stale” Github Action label Aug 23, 2023
@jklymak jklymak added keep Items to be ignored by the “Stale” Github Action and removed status: inactive Marked by the “Stale” Github Action labels Aug 30, 2023
@jklymak
Copy link
Member

jklymak commented Aug 30, 2023

The unchained.py example still emits this warning, and takes a ton of time despite not having much apparent detail. Also why is it all-caps?

@QuLogic
Copy link
Member

QuLogic commented Jan 4, 2024

I'm working with sphinx-gallery to improve the situation here.

@QuLogic QuLogic self-assigned this Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keep Items to be ignored by the “Stale” Github Action Maintenance
Projects
None yet
Development

No branches or pull requests

3 participants