Skip to content

Commit 44dd679

Browse files
committed
DOC: Fix FancyBoxPatch -> FancyBboxPatch typo.
Fixes #6224.
1 parent 513c320 commit 44dd679

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/shapes_and_collections/artist_reference.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def label(xy, text):
8484
grid[7] - [0.025, 0.05], 0.05, 0.1,
8585
boxstyle=mpatches.BoxStyle("Round", pad=0.02))
8686
patches.append(fancybox)
87-
label(grid[7], "FancyBoxPatch")
87+
label(grid[7], "FancyBboxPatch")
8888

8989
# add a line
9090
x, y = np.array([[-0.06, 0.0, 0.1], [0.05, -0.05, 0.05]])

lib/matplotlib/patches.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1863,7 +1863,7 @@ def register(klass, name, style):
18631863
class BoxStyle(_Style):
18641864
"""
18651865
:class:`BoxStyle` is a container class which defines several
1866-
boxstyle classes, which are used for :class:`FancyBoxPatch`.
1866+
boxstyle classes, which are used for :class:`FancyBboxPatch`.
18671867
18681868
A style object can be created as::
18691869

0 commit comments

Comments
 (0)