8000 Inline backend not working on master · Issue #4774 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content 8000
Inline backend not working on master #4774
Closed
@michaelaye

Description

@michaelaye

I just installed master (who could resist those spanking new colormaps?? ;) ) and have trouble with the inline backend. nbagg works fine, but when activating %matplotlib inline in the notebook, the MPL object is being returned and REPL'ed, but no graph/image is shown.
I quickly pulled it by doing

pip uninstall matplotlib
Uninstalling matplotlib-1.5.dev1:
  /Users/klay6683/miniconda3/lib/python3.4/site-packages/matplotlib-1.5.dev1-py3.4-macosx-10.5-x86_64.egg
Proceed (y/n)? y
  Successfully uninstalled matplotlib-1.5.dev1
conda install matplotlib

and tried the same again, and it works, so it's apparently not the notebook's fault.

Here's the mini code I ran:

%matplotlib inline
img = np.arange(10000).reshape(100,100)
plt.figure()
plt.imshow(img, cmap='gray')

In other words, MPL master reacts exactly as it would look if I comment out the %matplotlib magic above when running with MPL 1.4.3.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0