MatplotlibDeprecationWarning: 'b' parameter in grid() function renamed to 'visible'
This warning is indicating that the 'b' parameter used in the grid() function has been renamed to 'visible' in Matplotlib 3.5, and the support for the old name will be removed in the future. To fix this warning, you can replace the 'b' parameter with 'visible' in the grid() function call. For example, instead of using plt.grid(b=bool), you can use plt.grid(visible=bool).
原文地址: https://www.cveoy.top/t/topic/oDKe 著作权归作者所有。请勿转载和采集!