Skip to content

Google Colab does not support interactive matplotlib plots #2

Description

@pheuer

In an iPython notebook, you can enable interactive matplotlib plots simply by calling

%matplotlib notebook

However, on colab this seems to result in plots not being made at all. If you use

%matplotlib inline

Then the plots appear, but they are not interactive (e.g. you cannot rotate 3D plots).

@namurphy for the SULI 2023 summer school notebook on charge particle tracing, this is a significant downside to using colab.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions