Skip to content
Snippets Groups Projects
Commit efe194d0 authored by Joseph Weston's avatar Joseph Weston
Browse files

remove used of deprecated matplotlib option

'box-forced' is deprecated as of matplotlib 2.2.
parent 84719d84
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@
site_size = site_size_conversion(ldos) # convert LDoS to sizes
kwant.plot(fsyst, site_size=site_size, site_color=(0, 0, 1, 0.3), ax=ax)
ax.set_title(title)
ax.set(adjustable='box-forced', aspect='equal')
ax.set(adjustable='box', aspect='equal')
- plt.show()
+ save_figure(file_name)
plt.clf()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment