What should I do if pycharm can't see the result of running the picture

As a result of the operation, the graphics or pictures that should have been drawn cannot be seen:

the solution:

1. Add a sentence at the end of all codes

plt.show()

2. You can see the running results: in the form of two new dialog boxes 

3. After closing the two windows, the display process ends.

 

Guess you like

Origin blog.csdn.net/qq_46703208/article/details/132143617