Thanks to visit codestin.com
Credit goes to github.com

Skip to content

colorbar is not working #552

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

Closed
orena1 opened this issue Aug 21, 2016 · 1 comment
Closed

colorbar is not working #552

orena1 opened this issue Aug 21, 2016 · 1 comment

Comments

@orena1
Copy link

orena1 commented Aug 21, 2016

This simple example is not working:

import matplotlib.pyplot as plt
import plotly.plotly as py
py.sign_in(?,?)
plt.ion()
fig = plt.figure()
cm = plt.cm.get_cmap('RdYlBu')
xy = range(20)
z = xy
sc = plt.scatter(xy, xy, c=z, vmin=0, vmax=20, s=35, cmap=cm)
plt.colorbar(sc)
plt.show()

plot_urlfig1 = py.plot_mpl(fig)
print plot_urlfig1

I get this

Dang! That path collection is out of this world. I totally don't know what to do with it yet! Plotly can only import path collections linked to 'data' coordinates

image

and the colorbar is missing

Thanks.

@gvwilson
Copy link
Contributor

Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson

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

No branches or pull requests

3 participants