Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6bf57ae

Browse filesBrowse files
committed
Update to mpl 3.5.0
- make room for two additional annotation arrow styles - add possibility to set tick labels together with tick positions
1 parent 91ebc86 commit 6bf57ae
Copy full SHA for 6bf57ae

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed

‎cheatsheets.tex

Copy file name to clipboardExpand all lines: cheatsheets.tex
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,8 +711,8 @@
711711
ax.patch.\textbf{set\_alpha}(0)\\
712712
ax.\textbf{set\_[xy]lim}(vmin, vmax)\\
713713
ax.\textbf{set\_[xy]label}(label)\\
714-
ax.\textbf{set\_[xy]ticks}(list)\\
715-
ax.\textbf{set\_[xy]ticklabels}(list)\\
714+
ax.\textbf{set\_[xy]ticks}(ticks, [labels])\\
715+
ax.\textbf{set\_[xy]ticklabels}(labels)\\
716716
ax.\textbf{set\_[sup]title}(title)\\
717717
ax.\textbf{tick\_params}(width=10, …)\\
718718
ax.\textbf{set\_axis\_[on|off]}()\\

‎scripts/annotation-arrow-styles.py

Copy file name to clipboardExpand all lines: scripts/annotation-arrow-styles.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def demo_con_style(ax, connectionstyle):
1010
transform=ax.transAxes, ha="left", va="top", size="x-small")
1111

1212

13-
(fig, axes) = plt.subplots(5, 3, figsize=(4, 2.5), frameon=False)
13+
(fig, axes) = plt.subplots(4, 4, figsize=(4, 2.5), frameon=False)
1414
for ax in axes.flatten():
1515
ax.axis("off")
1616
for i, (ax, style) in enumerate(zip(axes.flatten(), mpatches.ArrowStyle.get_styles())):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.