Skip to content

Setting logarithmic yscale in Radar chart broken #7751

@EvanZ

Description

@EvanZ

I have been using the API example for creating radar charts: http://matplotlib.org/examples/api/radar_chart.html

In the previous version you could make the radial grid logarithmic simply by adding ax.set_yscale('log') here:

        ax = fig.add_subplot(2, 2, n + 1, projection='radar')
        ax.set_yscale('log')
        plt.rgrids([0.1, 0.2, 0.4, 0.6, 0.8])
        ax.set_title(title, weight='bold', size='medium', position=(0.5, 1.1),
                     horizontalalignment='center', verticalalignment='center')
        for d, color in zip(case_data, colors):
            ax.plot(theta, d, color=color)
            ax.fill(theta, d, facecolor=color, alpha=0.25)
        ax.set_varlabels(spoke_labels)

This seems to be broken in rc2, with no data being plotted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions