PyCharm Matplotlib graphics can not be displayed in UI effects of problem-solving

Problem Description

We use the class Cursor Matplotlib, adding a set of lines crossed with the pattern, thereby achieving numerical visualization positioned anywhere in the graphical interface.

But using PyCharm, in the right part of the drawing results:
Here Insert Picture Description

This of course is the need to draw the map, but it does static, did not achieve the so-called "positioning visualization" ......

So how does this solve the problem? Look ......

Solving steps

Open the File → Settings, choose the bottom Tools:
Here Insert Picture Description

Next, expand Tools, see Python Scientific:
Here Insert Picture Description

Click on Python Scientific, right there is a check mark is selected, this is not what we need, struck out just fine:
Here Insert Picture Description

Next, on the right sidebar pattern separated out separately:

Here Insert Picture Description

We re-run the program, you get the desired result:
Here Insert Picture Description

to sum up

UI Matplotlib want to achieve the effect of drawing in PyCharm where you can do in this approach.
Of course, drawing on weekdays, because it is a static diagram, the sidebar is also very good.

Programming examples herein to achieve here → Here

Published 515 original articles · won praise 1014 · Views 210,000 +

Guess you like

Origin blog.csdn.net/weixin_43896318/article/details/104331682