Answers for "how to change the y axis in ptyhon matplotlib"

0

set axis plt python

from matplotlib import pyplot as plt
plt.axis([0, 10, 0, 20])
Posted by: Guest on November-28-2020
0

matplotlib set y lim

ax = plt.gca()
ax.set_xlim([xmin, xmax])
ax.set_ylim([ymin, ymax])
Posted by: Guest on December-08-2021

Python Answers by Framework

Browse Popular Code Answers by Language