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 3663608 commit 234d972Copy full SHA for 234d972
1 file changed
examples/showcase/anatomy.py
@@ -58,15 +58,15 @@ def minor_tick(x, pos):
58
def circle(x, y, radius=0.15):
59
from matplotlib.patches import Circle
60
from matplotlib.patheffects import withStroke
61
- circle = Circle((x, y), radius, clip_on=False, zorder=10, linewidth=2,
62
- edgecolor=(0, 0, 0, 0.5), facecolor=(1, 1, 1, .825))
+ circle = Circle((x, y), radius, clip_on=False, zorder=10, linewidth=1,
+ edgecolor='black', facecolor=(0, 0, 0, .0125),
63
+ path_effects=[withStroke(linewidth=5, foreground='w')])
64
ax.add_artist(circle)
65
66
67
def text(x, y, text):
- ax.text(x, y, text, backgroundcolor=(1, 1, 1, 0.95),
68
- ha='center', va='top', color='0.4',
69
- fontfamily='monospace')
+ ax.text(x, y, text, backgroundcolor="white",
+ ha='center', va='top', weight='bold', color='blue')
70
71
72
# Minor tick
0 commit comments