Answers for "tadjust margines automatically matplotlib"

0

tadjust margines automatically matplotlib

import matplotlib.pyplot as plt
import numpy as np

fig = plt.figure()
ax = fig.add_subplot(111)
ax.plot(range(10),range(10))
ax.set_aspect('equal')
plt.tight_layout() # This is the key!
Posted by: Guest on February-01-2022

Code answers related to "tadjust margines automatically matplotlib"

Python Answers by Framework

Browse Popular Code Answers by Language