chevron_left Axes Cookbook
check_circleMark as learned
Removing axis in Matplotlib
schedule Jul 1, 2022Last updated
tocTable of Contentsexpand_more
Check out the interactive map of data science
To completely remove an axis in Matplotlib, set
plt.axis("off") like so:
This gives the following:
Notice how all the axis labels are removed as well, leaving just the curve.
Published by Isshin Inada
Edited by 0 others
Did you find this page useful?
Enjoy our search
Hit / to insta-search docs and recipes!