Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

this figure includes axes that are not compatible with tight_layout, so results might be incorrect

fig, ax = plt.subplots()
fig.set_tight_layout(False)
X = np.linspace(-np.pi, np.pi, 256,endpoint=True)
C,S = np.cos(X), np.sin(X)
ax.plot(X,C)
ax.plot(X,S)
plt.show()
Source by github.com #
 
PREVIOUS NEXT
Tagged: #figure #includes #axes #compatible #results #incorrect
ADD COMMENT
Topic
Name
6+7 =