Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ def __getattr__(self, name):

warnings.filterwarnings(
"ignore",
message=r"The rc setting 'colorbar.rasterize' was deprecated.*",
category=UltraPlotWarning,
)
except Exception:
pass


# Print available system fonts
from matplotlib.font_manager import fontManager
from sphinx_gallery.sorting import ExplicitOrder, FileNameSortKey
Expand Down Expand Up @@ -349,6 +349,9 @@ def _reset_ultraplot(gallery_conf, fname):

nbsphinx_execute = "auto"

# Suppress warnings in nbsphinx kernels without injecting visible cells.
os.environ.setdefault("PYTHONWARNINGS", "ignore::UserWarning")

# Sphinx gallery configuration
sphinx_gallery_conf = {
"doc_module": ("ultraplot",),
Expand Down