Skip to content

Commit

Permalink
Merge pull request #328 from xukai92/patch-1
Browse files Browse the repository at this point in the history
Save to local instead of user directory in tutorial
  • Loading branch information
lukelbd committed Jan 27, 2022
2 parents f33edfe + 94c8f6a commit 5441b1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
suptitle='Simple subplot grid', title='Title',
xlabel='x axis', ylabel='y axis'
)
fig.save('~/example1.png')
fig.save('example1.png')


# %%
Expand All @@ -175,7 +175,7 @@
xlabel='xlabel', ylabel='ylabel'
)
axs[2].plot(data, lw=2)
fig.save('~/example2.png')
fig.save('example2.png')


# %%
Expand All @@ -196,7 +196,7 @@
xlabel='xlabel', ylabel='ylabel', abc=True
)
axs[0].plot(data, lw=2)
fig.save('~/example3.png')
fig.save('example3.png')


# %%
Expand All @@ -215,7 +215,7 @@
suptitle='Subplot grid with a GridSpec',
xlabel='xlabel', ylabel='ylabel', abc=True
)
fig.save('~/example4.png')
fig.save('example4.png')

# %% [raw] raw_mimetype="text/restructuredtext"
# .. _ug_subplotgrid:
Expand Down

0 comments on commit 5441b1e

Please sign in to comment.