![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
matplotlib
hashdog
写下疑问,记录成长
展开
-
matplotlib去掉轴刻度线
matplotlib去掉轴刻度线原创 2023-02-16 17:31:24 · 459 阅读 · 1 评论 -
matplotlib去掉轴边框
matplotlib去掉轴边框原创 2023-02-16 10:50:44 · 553 阅读 · 0 评论 -
matplotlib去掉图例边框
plt.legend(frameon=False)原创 2020-12-17 14:07:07 · 15242 阅读 · 2 评论 -
【Python】matplotlib画图在坐标轴之外显示
这个点的坐标刚好在1,1上,显示不全参考官网:https://matplotlib.org/api/_as_gen/matplotlib.artist.Artist.set_clip_on.html#matplotlib.artist.Artist.set_clip_onlip_on=False关掉裁剪功能,使能在坐标轴外显示 import matplotlib.pyplot as plt plt.plot(range( 5),range(5),'ro',ma...原创 2020-10-17 18:19:59 · 1464 阅读 · 0 评论