Skip to content

[Bug]: Inner border is not rendered correctly when using log-scale and polar projection. #30179

@tillboehringer

Description

@tillboehringer

Bug summary

When changing to a log-scale on a polar plot and changing the radial origin. The inner border is not in the correct place, it stays in the centre.

Code for reproduction

import numpy as np
import matplotlib.pyplot as plt

angles = np.radians(np.linspace(15, 145, 10))
r = np.logspace(-30, -28, len(angles))

fig = plt.figure()
ax = plt.axes(projection='polar')

ax.scatter(angles, r)

ax.set_theta_zero_location('N')
ax.set_theta_direction(-1)
ax.set_rscale('log')
ax.set_thetamin(15)
ax.set_thetamax(145)

ax.set_rorigin(10**-33)

Actual outcome

Image

Expected outcome

Image

The inner Border should look like this one.

Additional information

No response

Operating system

OS/X

Matplotlib Version

3.10.3

Matplotlib Backend

backend_inline

Python version

3.13.2

Jupyter version

No response

Installation

pip

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