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

Skip to content

Commit 340bf99

Browse files
story645timhoffm
andauthored
Update galleries/users_explain/text/mathtext.py
Co-authored-by: Tim Hoffmann <[email protected]>
1 parent 3cd72e8 commit 340bf99

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

galleries/users_explain/text/mathtext.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@
1616

1717
import matplotlib.pyplot as plt
1818

19-
fig, ax = plt.subplots(figsize=(3, 3))
19+
fig = plt.figure(figsize=(3, 3), linewidth=1, edgecolor='black')
2020
fig.text(.2, .7, "plain text: alpha > beta")
2121
fig.text(.2, .5, "Mathtext: $\\alpha > \\beta$")
2222
fig.text(.2, .3, r"raw string Mathtext: $\alpha > \beta$")
23-
ax.set(xticks=[], yticks=[])
2423

2524
# %%
2625
# .. seealso::

0 commit comments

Comments
 (0)