Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A simple 3D scatter plot with %matplotlib notebook is not working #18132

Closed
Milestone
@chudur-budur

Description

@chudur-budur

Bug report

Bug summary

A simple 3D scatter plot is not working on jupyter notebook when%matplotlib notebook is enabled. However, it is working for%matplotlib inline

An extremely large, blank window appears that spans beyond the page.

Code for reproduction

%matplotlibnotebookimportnumpyasnpimportmatplotlib.pyplotaspltfrommpl_toolkits.mplot3dimportAxes3DA=np.random.random((100,3))fig=plt.figure()ax=Axes3D(fig)ax.scatter(A[:,0],A[:,1],A[:,2])plt.show()

Actual outcome
Fail case

Expected outcome

Expecting a 3D scatter plot ofA.

Matplotlib version

  • Operating system: posix Darwin 19.6.0
  • Matplotlib version: 3.3.0
  • Matplotlib backend (print(matplotlib.get_backend())): nbAgg
  • Python version: 3.7.5
  • Jupyter version (if applicable):
    • jupyter core : 4.6.3
    • jupyter-notebook : 6.0.3
    • qtconsole : 4.7.5
    • ipython : 7.16.1
    • ipykernel : 5.3.4
    • jupyter client : 6.1.6
    • jupyter lab : not installed
    • nbconvert : 5.6.1
    • ipywidgets : 7.5.1
    • nbformat : 5.0.7
    • traitlets : 4.3.3
  • Other libraries: numpy 1.19.1, scipy 1.5.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp