Skip to content

set_{x,y,z}bound 3d limits are not persistent upon interactive rotation #18112

@anntzer

Description

@anntzer

Bug report

Bug summary

3D axes limits set using set_{x,y,z}bound are dropped when interactively rotating 3d axes.

Code for reproduction

import matplotlib.pyplot as plt

ax = plt.figure().add_subplot(projection="3d")
ax.plot([0, 1], [0, 1], [0, 1])
ax.set(xbound=[-1, 1], ybound=[-1, 1], zbound=[-1, 1])
# ax.set(xlim=[-1, 1], ylim=[-1, 1], zlim=[-1, 1])
plt.show()

then interactively rotate the axes with the mouse.

Actual outcome

The axes limits immediately snap back to [0, 1] (plus margins).

Expected outcome

Limits are respected (as with set_{x,y,z}lim).

Matplotlib version

  • Operating system: linux
  • Matplotlib version: master
  • Matplotlib backend (print(matplotlib.get_backend())): qt5agg
  • Python version: 38
  • Jupyter version (if applicable):
  • Other libraries:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy