Skip to content

DiffusionTrend (mpl) requires interactive matplotlib backend to display plots #268

Description

@anna-alexandrova

When using ndlib.viz.mpl.DiffusionTrend in a jupyter notebook, plots may not display unless an interactive matplotlib backend is explicitly enabled. In my case, I got:

"FigureCanvasAgg is non-interactive, and thus cannot be shown"

The plot works correctly after enabling:

%matplotlib notebook

It might be helpful to mention this requirement in the documentation or handle it more explicitly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions