Matplotlib 操作?
https://wizardforcel.gitbooks.io/matplotlib-intro-tut/content/matplotlib/1.html
九 餅圖 環(huán)形圖
https://blog.csdn.net/weixin_40683253/article/details/87814046
八?
hist直方圖
http://www.itdecent.cn/p/f2f75754d4b3
七 非常好的博客
https://www.cnblogs.com/nju2014/??
六 x,y刻度值
https://blog.csdn.net/helunqu2017/article/details/78736415
Python繪圖總結(jié)(Matplotlib篇)之坐標(biāo)軸及刻度 (難讀:****)
https://blog.csdn.net/wuzlun/article/details/80053277
五 餅狀圖
http://www.itdecent.cn/p/0a76c94e9db7
四 地圖?
位置轉(zhuǎn)經(jīng)緯度(百度)
https://juejin.im/entry/5aaa19a3f265da23783fff41
三?Bar Charts
http://benalexkeen.com/bar-charts-in-matplotlib/
二 matplotlib命令與格式:坐標(biāo)軸數(shù)值格式(日期格式,百分比,科學(xué)記數(shù))
https://blog.csdn.net/helunqu2017/article/details/78650782
import matplotlib.pyplot as plt
ax=plt.gca()
fmt='%.0f%%'
yticks = mtick.FormatStrFormatter(fmt)
ax.yaxis.set_major_formatter(yticks)
一??Matplotlib subplots_adjust hspace so titles and xlabels don't overlap
from matplotlib import pyplot as plt?
subplots_adjust子圖調(diào)節(jié)
fig = plt.figure()
fig.subplots_adjust(left=1,right=2.5)
fig.canvas.draw()
matplotlib.pyplot.subplots_adjust(*args, **kwargs)subplots_adjust(left=None, bottom=None, right=None, top=None, wspace=None, hspace=None)
left? =0.125# 子圖(subplot)距畫板(figure)左邊的距離
right =0.9# 右邊
bottom =0.1# 底部
top =0.9# 頂部
wspace =0.2# 子圖水平間距
hspace =0.2# 子圖垂直間距