Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserWarning: No data for colormapping... in _viz_giddy_mpl.py #167

Open
jGaboardi opened this issue Nov 15, 2022 · 0 comments
Open

UserWarning: No data for colormapping... in _viz_giddy_mpl.py #167

jGaboardi opened this issue Nov 15, 2022 · 0 comments

Comments

@jGaboardi
Copy link
Member

When calling ax.scatter in _viz_giddy_mpl the following UserWarning is being thrown:

/home/runner/work/splot/splot/splot/_viz_giddy_mpl.py:276: UserWarning: No data for colormapping provided via 'c'. Parameters 'cmap' will be ignored
    c = ax.scatter(rose.theta, rose.r, alpha=alpha, cmap=cmap, **kwargs)

Is this something that needs an update in the codebase itself or is it a pytest.warns situation?

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

No branches or pull requests

1 participant