Search code examples
pycharmgifanimated-gif

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?


Solution

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