log scale and polar broken · Issue #24383 · matplotlib/matplotlib · GitHub
Skip to content

log scale and polar broken #24383

Description

@tacaswell
    [09192022_NaCl_0-2mmS_3mmD_0D_0-0.01inc_0.5dpm(high res).txt](https://github.com/matplotlib/matplotlib/files/9944614/09192022_NaCl_0-2mmS_3mmD_0D_0-0.01inc_0.5dpm.high.res.txt)

Example of working code is:

     fig, ax = subplots( 1, 1,
                        figsize=(8, 8),
                        subplot_kw={ 'projection':'polar' },
                        )
    xvals, yvals = data
    # yscale('log')
    # ax.set_theta_zero_location( 'N' )
    # ax.set_theta_direction( -1 )
    # ax.set_rscale( 'log' )
    # ax.set_rlim((0,max(yvals)))
    
    polar( xvals, yvals,
             label=params.get( 'datalabel' ),
             )
    
    savefig( f"{params.get( 'fname' )}_polar" )
    close( fig=fig )

Plot functions correctly(ish) but when set to a log-plot the plot malfunctions: the error ""posx and posy should be finite values"" and the entire plot is a blank circle. The 'r' labels are still not correct normally.

Originally posted by @Gerald-Meyers in #11202 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions