Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d79f0ca commit 0be6c5dCopy full SHA for 0be6c5d
1 file changed
examples/shapes_and_collections/hatch_style_reference.py
@@ -16,7 +16,7 @@
16
17
def hatches_plot(ax, h):
18
ax.add_patch(Rectangle((0, 0), 2, 2, fill=False, hatch=h))
19
- ax.set_title(f"' {h} '")
+ ax.text(1, -0.5, f"' {h} '", size=15, ha="center")
20
ax.axis('equal')
21
ax.axis('off')
22
0 commit comments