Probe-Particle / PPSTM

Code simulating variousSTM techniques, especially for tilting tip (dependent on https://github.com/Probe-Particle/ppafm)l)
MIT License
8 stars 1 forks source link

Old keywords in plt.imshow functions #11

Closed LauriKurki closed 1 year ago

LauriKurki commented 1 year ago

There are many instances of the keyword origin='image' with the function plt.imshow(). This causes an error because it's no longer supported. The correct new keyword is origin='lower'. For example here on line 303:

https://github.com/Probe-Particle/PPSTM/blob/03449bd70aeaf0f466ac7525dcdc9ac4c28d73fb/PPSTM_simple.py#L300-L306