Commit 5eaab3b
authored
Make the horizontal bar appear in AnchoredArtists example.
The `AnchoredSizeBar` should, according to its comment string
> Draw a horizontal bar with the size in data coordinate of the given
axes. A label will be drawn underneath (center-aligned).
This bar is not drawn, because from matplotlib 2.0 on, patches do not have any edge assigned to them any more. While the facecolor is set to `"None"`, it is really the edgecolor, which should be set to some color (e.g. black). This PR fixes this such that a bar appears in the plot.1 parent 19c2e78 commit 5eaab3b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments