Skip to content

Docs emit warnings when building #18615

@brunobeltran

Description

@brunobeltran

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy