Skip to content

Commit 4e1eb30

Browse files
Adjust default render depth.
1 parent a0d9f90 commit 4e1eb30

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

matplotview/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ def view(
3131
'catrom', 'gaussian', 'bessel', 'mitchell', 'sinc', 'lanczos',
3232
or 'none'
3333
34-
render_depth: int, positive, defaults to 10
34+
render_depth: int, positive, defaults to 5
3535
The number of recursive draws allowed for this view, this can happen
3636
if the view is a child of the axes (such as an inset axes) or if
37-
two views point at each other. Defaults to 10.
37+
two views point at each other. Defaults to 5.
3838
3939
filter_function: callable(Artist) -> bool or None
4040
An optional filter function, which can be used to select what artists
@@ -87,10 +87,10 @@ def inset_zoom_axes(
8787
determines the interpolation used when attempting to render a
8888
zoomed version of an image.
8989
90-
render_depth: int, positive, defaults to 10
90+
render_depth: int, positive, defaults to 5
9191
The number of recursive draws allowed for this view, this can happen
9292
if the view is a child of the axes (such as an inset axes) or if
93-
two views point at each other. Defaults to 10.
93+
two views point at each other. Defaults to 5.
9494
9595
filter_function: callable(Artist) -> bool or None
9696
An optional filter function, which can be used to select what artists

matplotview/_view_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from matplotlib.artist import Artist
88
from matplotlib.backend_bases import RendererBase
99

10-
DEFAULT_RENDER_DEPTH = 10
10+
DEFAULT_RENDER_DEPTH = 5
1111

1212

1313
class BoundRendererArtist:

0 commit comments

Comments
 (0)