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

Skip to content

Commit 6943d24

Browse files
authored
Merge pull request #10305 from ImportanceOfBeingErnest/patch-6
Make the horizontal bar appear in AnchoredArtists example.
2 parents c281ccf + 5eaab3b commit 6943d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/misc/anchored_artists.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self, transform, size, label, loc,
3434
sep in points.
3535
"""
3636
self.size_bar = AuxTransformBox(transform)
37-
self.size_bar.add_artist(Rectangle((0, 0), size, 0, fc="none", lw=1.0))
37+
self.size_bar.add_artist(Rectangle((0, 0), size, 0, ec="black", lw=1.0))
3838

3939
self.txt_label = TextArea(label, minimumdescent=False)
4040

0 commit comments

Comments
 (0)