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).

MatplotlibDeprecationWarning: 'b' parameter in grid() function renamed to 'visible'

原文地址: https://www.cveoy.top/t/topic/oDKe 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录