Using figure function canvas show not to come out, after upgrading the matplotlib or so,
Don't give a variable definition when they show not to come out
To a variable, fill in the show function error
Inquire how to settle this, check the baidu did not find related problem,
CodePudding user response:
The import matplotlib. Pyplot as PLT
# FIG=PLT. Figure (figsize=(4, 3), facecolor='blue')
PLT. Figure (=50 figsize=(4, 3), dpi)
PLT. The show ()
Code not found what problem, has nothing to do with the usage function, consider the matplotlib whether the installation is successful