python - Matplotlib similar axis scales -
How can I earn matplotlib for plotting my x- and y-axis at the same scale, i.e. in both The length of an unit ax is analogous to a single physical distance or a piece of paper on my screen?
You can use the set_aspect ()
method axes < / Code>:
Import pls as pl pl.gca (). Set_aspect ("equal")
Comments
Post a Comment