Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c54a5a9

Browse files
authored
Merge pull request #17902 from timhoffm/doc-patheffects-figwidth
Fix figure size in path effects guide
2 parents 97785f2 + 89259ba commit c54a5a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/advanced/patheffects_guide.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
# class with the original path. The keywords to this effect are identical to
9999
# those of `.patches.PathPatch`:
100100

101-
fig = plt.figure(figsize=(8, 1))
101+
fig = plt.figure(figsize=(8.5, 1))
102102
t = fig.text(0.02, 0.5, 'Hatch shadow', fontsize=75, weight=1000, va='center')
103103
t.set_path_effects([
104104
path_effects.PathPatchEffect(

0 commit comments

Comments
 (0)