Skip to content

Feature request: rotating axes label text in 3D #1037

Open

Description

@sniemi

I am requesting that mplot3d would not override a user-specified rotation given when creating an axes label. The following code demonstrates:

import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.set_zlabel('label text flipped', rotation=45) #this rotation is being ignored/overridden
ax.azim = 225
plt.show()

Activity

  1. added this to the milestone on Aug 17, 2014
  2. modified the milestones: , on Aug 18, 2014
  3. willywongwong commented on Mar 16, 2016

    @willywongwong

    Hi
    I am currently looking at this feature. I want to define my own label to prevent the auto rotate.
    eg: ax.set_zlabel('label text flipped', force_rotation=45)
    This will allow me to differentiate from a user specified rotation to an automated rotation.

  4. theo258 commented on Jul 19, 2020

    @theo258

    A workaround is provided on stackoverflow: https://stackoverflow.com/q/21918380

  5. modified the milestones: , needs sorting on Oct 6, 2022
  6. github-actions commented on Oct 9, 2023

    @github-actions

    This issue has been marked "inactive" because it has been 365 days since the last comment. If this issue is still present in recent Matplotlib releases, or the feature request is still wanted, please leave a comment and this label will be removed. If there are no updates in another 30 days, this issue will be automatically closed, but you are free to re-open or create a new issue if needed. We value issue reports, and this procedure is meant to help us resurface and prioritize issues that have not been addressed yet, not make them disappear. Thanks for your help!

  7. added
    status: inactive
    on Oct 9, 2023
  8. added
    status: closed as inactive
    on Nov 8, 2023
  9. added
    keep
    and removed
    status: inactive
    status: closed as inactive
    on May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

New featurekeeptopic: mplot3d

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions