We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2b8a7e commit ca30d88Copy full SHA for ca30d88
stagpy/plates.py
@@ -796,7 +796,8 @@ def cmd():
796
nb_plates[i] = (nb_plates[i - 2] + nb_plates[i - 1] +
797
nb_plates[i] + nb_plates[i + 1] +
798
nb_plates[i + 2]) / 5
799
- figt = plt.figure()
800
- plt.axis([time[0], time[-1], 0, np.max(nb_plates)])
801
- plt.plot(time, nb_plates)
+ figt, axis = plt.subplots()
+ axis.plot(time, nb_plates)
+ axis.set_xlabel("Time")
802
+ axis.set_ylabel("Number of plates")
803
saveplot(figt, f'plates_{istart}_{iend}')
0 commit comments