Skip to content
Closed
Show file tree
Hide file tree
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
14 changes: 7 additions & 7 deletions docs/2dplots.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
#
# .. important::
#
# By default, UltraPlot automatically adjusts the width of
# :func:`~ultraplot.axes.PlotAxes.contourf` and :func:`~ultraplot.axes.PlotAxes.pcolor` edges
# to eliminate the appearance of `"white lines" in saved vector graphic files
# <https://github.com/jklymak/contourfIssues>`__. However, this can significantly
# slow down the drawing time for large datasets. To disable this feature,
# pass ``edgefix=False`` to the relevant :class:`~ultraplot.axes.PlotAxes` command,
# or set :rcraw:`edgefix` to ``False`` to disable globally.
# UltraPlot includes functionality to fix the common issue of unwanted
# `"white lines" in saved vector graphic files
# <https://github.com/jklymak/contourfIssues>`__ by adjusting the width of
# :func:`~ultraplot.axes.PlotAxes.contourf` and :func:`~ultraplot.axes.PlotAxes.pcolor` edges.
# This feature is disabled by default to maintain optimal performance, especially for large datasets.
# To enable this edge-fixing capability, pass ``edgefix=True`` to the relevant
# :class:`~ultraplot.axes.PlotAxes` command, or set :rcraw:`edgefix` to ``True`` to enable globally.

# %% [raw] raw_mimetype="text/restructuredtext"
# .. _ug_2dstd:
Expand Down
1 change: 1 addition & 0 deletions ultraplot/axes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import matplotlib.text as mtext
import matplotlib.ticker as mticker
import matplotlib.transforms as mtransforms
from matplotlib import get_backend
import numpy as np
from matplotlib import cbook

Expand Down
2 changes: 1 addition & 1 deletion ultraplot/internals/rcsetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ def copy(self):
),
# Special setting
"edgefix": (
True,
False,
_validate_bool,
'Whether to fix issues with "white lines" appearing between patches '
"in saved vector graphics and with vector graphic backends. Applies "
Expand Down