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

Warning "Cannot find reference 'Bar' in '__init__.py" in IntelliJ IDEA #389

Closed
osya opened this issue Jan 19, 2016 · 4 comments
Closed

Warning "Cannot find reference 'Bar' in '__init__.py" in IntelliJ IDEA #389

osya opened this issue Jan 19, 2016 · 4 comments

Comments

@osya
Copy link

osya commented Jan 19, 2016

To fix it please add the line __all__ = ['AngularAxis', 'Annotation', 'Annotations', 'Area', 'Bar', 'Box', 'Choropleth', 'ColorBar', 'Contour', 'Contours', 'Data', 'ErrorX', 'ErrorY', 'ErrorZ', 'Figure', 'Font', 'Heatmap', 'Histogram', 'Histogram2d', 'Histogram2dContour', 'Histogram2dcontour', 'Layout', 'Legend', 'Line', 'Margin', 'Marker', 'Mesh3d', 'Pie', 'RadialAxis', 'Scatter', 'Scatter3d', 'Scattergeo', 'Scattergl', 'Scene', 'Stream', 'Surface', 'Trace', 'XAxis', 'XBins', 'YAxis', 'YBins', 'ZAxis'] in the file plotly\graph_objs\__init__.py

@cldougl
Copy link
Member

cldougl commented Mar 3, 2016

Hey @osya can you let us know what issue this is causing for you?

@osya
Copy link
Author

osya commented Mar 4, 2016

In IntelliJ IDEA, PyCharm the following warning appeares: "Caannot find reference 'Bar' in @init.py"
plotly_warning
. Adding line all = ... in init.py solves this warning

@grrttedwards
Copy link

I encountered this issue, and was able to move past it by adding the line noted in the OP.

Is this something that other users don't have a problem with? I was unable to use graph_obj.Bar.

@theengineear
Copy link
Contributor

Resolved in 1.13.0

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

4 participants