Answers for "set y axis values matplotlib"

2

set axis title matplotlib

fig.suptitle('test title', fontsize=20)
plt.xlabel('xlabel', fontsize=18)
plt.ylabel('ylabel', fontsize=16)
Posted by: Guest on March-29-2020
1

plot bounds python

plt.xlim([25, 50])
Posted by: Guest on January-01-2021
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

changing axis labels matplotlib

import matplotlib.pyplot as plt

fig, ax = plt.subplots()

labels = [item.get_text() for item in ax.get_xticklabels()]
labels[1] = 'Testing'

ax.set_xticklabels(labels)
Posted by: Guest on May-13-2020
0

add y axis label matplotlib

plt.ylabel("Y axis label", fontsize=18)
Posted by: Guest on July-17-2021
0

how to select axis value in python

plt.xticks(np.arange(x.min(), x.max(), 2))
Posted by: Guest on May-22-2020

Python Answers by Framework

Browse Popular Code Answers by Language