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

Skip to content

Commit 234d972

Browse files
committed
DOC: make anatomy figure retina
1 parent 3663608 commit 234d972

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/showcase/anatomy.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ def minor_tick(x, pos):
5858
def circle(x, y, radius=0.15):
5959
from matplotlib.patches import Circle
6060
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))
61+
circle = Circle((x, y), radius, clip_on=False, zorder=10, linewidth=1,
62+
edgecolor='black', facecolor=(0, 0, 0, .0125),
63+
path_effects=[withStroke(linewidth=5, foreground='w')])
6364
ax.add_artist(circle)
6465

6566

6667
def text(x, y, text):
67-
ax.text(x, y, text, backgroundcolor=(1, 1, 1, 0.95),
68-
ha='center', va='top', color='0.4',
69-
fontfamily='monospace')
68+
ax.text(x, y, text, backgroundcolor="white",
69+
ha='center', va='top', weight='bold', color='blue')
7070

7171

7272
# Minor tick

0 commit comments

Comments
 (0)