Skip to content

mouse-over coordinates wrong for polar plot with customized theta direction/offset #2541

Closed
@megies

Description

@megies

When making a polar plot with an adjusted theta direction/offset the mouse-over coordinates displayed in the lower right corner (GUI toolbar) are wrong.

The following illustrates the problem:

import matplotlib.pyplot as plt 

fig = plt.figure()
ax = fig.add_subplot(111, polar=True)
ax.set_theta_direction(-1)
ax.set_theta_zero_location("N")

plt.show()

The coordinates are only displayed correctly for the quadrant 0-90°. For the other quadrants the values go from 0° to -270° degrees (in contrast to the correct ticklabels).

mpl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions