matplotlib / matplotlib/AnatomyOfMatplotlib

Remove backend and add resolve nteract: matplotlib.use('nbagg')

Open
#32 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
1.2k
Forks
584
PR merge metrics
No merged PRs in 30d

Description

Backend is no longer necessary IMO. Using a backend results in the following error on Jupyter.

```
Javascript Error: IPython is not defined
```
Also adding ```%matplotlib inline``` before importing matplotlib resolves the displaying of graphs.

Should I fix them in the notebooks and send a PR?

Thanks.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the tutorial notebooks for backend usage and reproduce the reported display error in Jupyter. Compare the current backend setup with the suggested inline configuration and confirm which notebook changes are needed. Done means the affected notebooks display graphs without the reported JavaScript error.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.