A.A.
A.A.

Reputation: 1047

View animated GIFs playing in PyCharm

I have a python project where I create a set of plots and create a .GIF file by joining them. However, when I try to see the animated GIF in my IDE, It just shows the first frame instead of the whole 10 frames of the animation.

Is there a plugin I could install in Pycharm that allows it to show GIF files as animations?

Upvotes: 1

Views: 2343

Answers (1)

s0xzwasd
s0xzwasd

Reputation: 3244

You can try the following steps and display your GIFs in the built-in PyCharm browser:

  • Navigate to Preferences/Settings | Editor | File Types.
  • Find HTML and associate the *.gif pattern with it.
  • Select a gif in the Project View (View | Tool Windows | Project), right-click on it and select Open In | Browser | PyCharm Preview.

Upvotes: 4

Related Questions