Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

matplotlib equal axis

from matplotlib import pyplot as plt
plt.plot(range(5))
plt.xlim(-3, 3)
plt.ylim(-3, 3)
plt.gca().set_aspect('equal', adjustable='box')
plt.draw()
Comment

plt equal axis

ax.axis('equal')
Comment

PREVIOUS NEXT
Code Example
Python :: rename columns pandas 
Python :: how to install pyaudio in python 
Python :: create conda env with specific python version 
Python :: mypy ignore line 
Python :: How to have add break for a few seconds in python 
Python :: python min in dictionary 
Python :: WARNING: There was an error checking the latest version of pip. 
Python :: tensorboard in colab 
Python :: how to open webcam with python 
Python :: how to check sklearn version in cmd 
Python :: sns set figure size 
Python :: python for file in dir 
Python :: conda on colab 
Python :: python delete directory if exists 
Python :: tuple negative indexing in python 
Python :: txt to list python 
Python :: displaying flash message django 
Python :: python click on screen 
Python :: find text between two strings regex python 
Python :: shapely polygon from string 
Python :: Python project root dir 
Python :: get list of unique values in pandas column 
Python :: convert string list to float 
Python :: animations text terminal python 
Python :: translate sentences in python 
Python :: python tkinter underline text 
Python :: finding duplicate characters in a string python 
Python :: PANDAS BIGGER PLOTS 
Python :: python pie chart 
Python :: install pipenv on windows 
ADD CONTENT
Topic
Content
Source link
Name
6+9 =