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

plotly 3.0 causes warnings #119

Closed
gideonshalev opened this issue Jul 5, 2018 · 51 comments
Closed

plotly 3.0 causes warnings #119

gideonshalev opened this issue Jul 5, 2018 · 51 comments

Comments

@gideonshalev
Copy link

gideonshalev commented Jul 5, 2018

When using the plotly 3.0, the below warnings show up after importing cufflinks.
Would be good to update the code by avoiding the deprecated methods.

/Users/gshalev/.pyenv/versions/3.6.2/lib/python3.6/site-packages/plotly/graph_objs/_deprecations.py:558: DeprecationWarning:

plotly.graph_objs.YAxis is deprecated.
Please replace it with one of the following more specific types
  - plotly.graph_objs.layout.YAxis
  - plotly.graph_objs.layout.scene.YAxis


/Users/gshalev/.pyenv/versions/3.6.2/lib/python3.6/site-packages/plotly/graph_objs/_deprecations.py:531: DeprecationWarning:

plotly.graph_objs.XAxis is deprecated.
Please replace it with one of the following more specific types
  - plotly.graph_objs.layout.XAxis
  - plotly.graph_objs.layout.scene.XAxis
@GIREG-J
Copy link

GIREG-J commented Jul 6, 2018

Hello,

A quick search into the cufflinks repo yield only two files:

  • cufflinks/themes.py
  • cufflinks/tools.py

I'm working on a quick PR.

@ah-
Copy link

ah- commented Jul 6, 2018

Haven't looked into detail, but there might be more fixes required, getting this after a df.iplot():

ValueError: 
    Invalid value of type 'builtins.str' received for the 'bgcolor' property of layout.legend
        Received value: 'pearl02'

@taxus13
Copy link

taxus13 commented Jul 6, 2018

Just to give more feedback:
When I run
df.iplot(kind='area',fill=True)
I get also an ValueError:
ValueError: Invalid value of type 'builtins.str' received for the 'color' property of layout.legend.font Received value: 'grey10'

@saeedamen
Copy link

saeedamen commented Jul 6, 2018

I've had similar issues too with plotly 3.0.0 and cufflinks (when I do import cufflinks it throws an error related to XAxis)

@GIREG-J
Copy link

GIREG-J commented Jul 7, 2018

@ah- you might be right

After replacing by the go.layout.XAxis and go.layout.YAxis and testing the errors are due to color naming.
Instead of passing the corresponding hex string from the cnames dict from cufflinks/cufflinks/colors.py, cufflinks passes the color name directly to plotly.graph_objs.layout.YAxis, resulting in ValueError

Usually cufflinks.tools will convert to RGBA/hex string using the to_rgba function, but since it imports THEMES first, it passes the YAxis/XAxis with invalid colors.

A clunky fix would to convert all the colors in THEMES to its hex string equivalent, but I still don't really know why there is suddenly this problem with colors... 🤔

@ah-
Copy link

ah- commented Jul 7, 2018

I think it's a new feature, read about it in https://medium.com/@plotlygraphs/introducing-plotly-py-3-0-0-7bb1333f69c6, see "Deep Validation and Helpful Error Messages".

@kammoh
Copy link

kammoh commented Jul 8, 2018

Same ValueError, cufflinks (<=git:master) not usable with plotly 3.0+
Maybe we should open a new issue as this is different from the OP Warning?

@anotherbugmaster
Copy link

anotherbugmaster commented Jul 8, 2018

Hello everyone, I think that this change causes cufflinks not work with plotly 3.0.0:

https://github.com/plotly/plotly.py/blob/master/migration-guide.md#object-array-classes-deprecated

@DiegoAgher
Copy link

my quick fix was to downgrade to plotly 2.0.0 for the time being

pip uninstall plotly
pip install plotly==2.0.0

@GIREG-J
Copy link

GIREG-J commented Jul 10, 2018

@DiegoAgher , Plotly==2.7.0 is working just fine since Plotly uses the Semantic Versioning 🙂 (and I tested it)

@timkpaine
Copy link
Contributor

Looking a little closer, this is going to be a fairly painful migration.

@timkpaine
Copy link
Contributor

getting started on #122

@santosjorge
Copy link
Owner

Yikes. This looks like a painful one. Thank you @timkpaine. Let’s get on it.

@mlsmall
Copy link

mlsmall commented Jul 16, 2018

Uninstall version 3.0 and install version 2.7.0. Worked for me.
in anaconda prompt:> pip install plotly==2.7.0

@jonmmease
Copy link
Contributor

Hi all, I just came across this thread. Let me know if you have any questions about migration.

Also, one option that may (or may not) be easier for you would be to replace all of the former graph objects (go.Scatter, etc.) with raw dictionaries\lists and then only build a go.Figure object at the very end of the construction process. This would delay validation until the end of the process (after you've replaced the colors etc.) and would be backwards compatible with version 2.7.

@tdikonda
Copy link

This warning seems to have been resolved in Plotly 3.1.0. Try upgrading to this version and verify.

@DavidJBianco
Copy link

DavidJBianco commented Aug 22, 2018

Unfortunately, cufflinks 0.13.0 with Plotly 3.1.1 throws the same error:

/opt/conda/lib/python3.6/site-packages/plotly/graph_objs/_deprecations.py:558: DeprecationWarning:

plotly.graph_objs.YAxis is deprecated.
Please replace it with one of the following more specific types

  • plotly.graph_objs.layout.YAxis
  • plotly.graph_objs.layout.scene.YAxis

/opt/conda/lib/python3.6/site-packages/plotly/graph_objs/_deprecations.py:531: DeprecationWarning:

plotly.graph_objs.XAxis is deprecated.
Please replace it with one of the following more specific types

  • plotly.graph_objs.layout.XAxis
  • plotly.graph_objs.layout.scene.XAxis

and then the following code errors out on the bgcolor:

df.iplot(kind='scatter', bgcolor='dimgray')

ValueError:
Invalid value of type 'builtins.str' received for the 'bgcolor' property of layout.legend
Received value: 'pearl02'

The 'bgcolor' property is a color and may be specified as:
  - A hex string (e.g. '#ff0000')
  - An rgb/rgba string (e.g. 'rgb(255,0,0)')
  - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
  - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
  - A named CSS color:
        aliceblue, antiquewhite, aqua, aquamarine, azure,
        beige, bisque, black, blanchedalmond, blue,
        blueviolet, brown, burlywood, cadetblue,
        chartreuse, chocolate, coral, cornflowerblue,
        cornsilk, crimson, cyan, darkblue, darkcyan,
        darkgoldenrod, darkgray, darkgrey, darkgreen,
        darkkhaki, darkmagenta, darkolivegreen, darkorange,
        darkorchid, darkred, darksalmon, darkseagreen,
        darkslateblue, darkslategray, darkslategrey,
        darkturquoise, darkviolet, deeppink, deepskyblue,
        dimgray, dimgrey, dodgerblue, firebrick,
        floralwhite, forestgreen, fuchsia, gainsboro,
        ghostwhite, gold, goldenrod, gray, grey, green,
        greenyellow, honeydew, hotpink, indianred, indigo,
        ivory, khaki, lavender, lavenderblush, lawngreen,
        lemonchiffon, lightblue, lightcoral, lightcyan,
        lightgoldenrodyellow, lightgray, lightgrey,
        lightgreen, lightpink, lightsalmon, lightseagreen,
        lightskyblue, lightslategray, lightslategrey,
        lightsteelblue, lightyellow, lime, limegreen,
        linen, magenta, maroon, mediumaquamarine,
        mediumblue, mediumorchid, mediumpurple,
        mediumseagreen, mediumslateblue, mediumspringgreen,
        mediumturquoise, mediumvioletred, midnightblue,
        mintcream, mistyrose, moccasin, navajowhite, navy,
        oldlace, olive, olivedrab, orange, orangered,
        orchid, palegoldenrod, palegreen, paleturquoise,
        palevioletred, papayawhip, peachpuff, peru, pink,
        plum, powderblue, purple, red, rosybrown,
        royalblue, saddlebrown, salmon, sandybrown,
        seagreen, seashell, sienna, silver, skyblue,
        slateblue, slategray, slategrey, snow, springgreen,
        steelblue, tan, teal, thistle, tomato, turquoise,
        violet, wheat, white, whitesmoke, yellow,
        yellowgreen

@aiguofer
Copy link

aiguofer commented Sep 5, 2018

I'm having the same issue, although I also get the following error following the warnings when I import cufflinks:

  File "/opt/custard/git/adhoc/adhoc/air_metrics.py", line 5, in <module>
    import cufflinks as cf
  File "/home/custard/.local/lib/python2.7/site-packages/cufflinks/__init__.py", line 15, in <module>
    from . import tools
  File "/home/custard/.local/lib/python2.7/site-packages/cufflinks/tools.py", line 37, in <module>
    __LAYOUT_AXIS_X=['xaxis_'+_ for _ in go.XAxis().__dir__()]
AttributeError: 'XAxis' object has no attribute '__dir__'

@santosjorge
Copy link
Owner

I've created a plotly3 branch to start testing all the fixes (lot of changes).

@santosjorge
Copy link
Owner

Done.
**Thank you @timkpaine ** for the help.

@leirhyh72
Copy link

Hi All, did this issues solved? I updated the latest plotly and got the same error again. What should I do?
Thanks,

Tim

@timkpaine
Copy link
Contributor

I am also on latest plotly and it works fine. Can you send a repro and info about your environment (python and plotly/cufflinks versions)

@leirhyh72
Copy link

Sorry I forget to post the errors which is as follows:
ValueError Traceback (most recent call last)
in ()
21 color = 'colors[i-6]',
22 opacity = .4,
---> 23 line = dict(width = 0)
24 ),
25 ) )

c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages\plotly\graph_objs_scattergeo.py in init(self, arg, connectgaps, customdata, customdatasrc, fill, fillcolor, geo, hoverinfo, hoverinfosrc, hoverlabel, hovertext, hovertextsrc, ids, idssrc, lat, latsrc, legendgroup, line, locationmode, locations, locationssrc, lon, lonsrc, marker, mode, name, opacity, selected, selectedpoints, showlegend, stream, text, textfont, textposition, textpositionsrc, textsrc, uid, unselected, visible, **kwargs)
1553 self.lonsrc = lonsrc if lonsrc is not None else _v
1554 _v = arg.pop('marker', None)
-> 1555 self.marker = marker if marker is not None else _v
1556 _v = arg.pop('mode', None)
1557 self.mode = mode if mode is not None else _v

c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages\plotly\basedatatypes.py in setattr(self, prop, value)
2702 prop in self._validators):
2703 # Let known properties and private properties through
-> 2704 super(BasePlotlyType, self).setattr(prop, value)
2705 else:
2706 # Raise error on unknown public properties

c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages\plotly\graph_objs_scattergeo.py in marker(self, val)
693 @marker.setter
694 def marker(self, val):
--> 695 self['marker'] = val
696
697 # mode

c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages\plotly\basedatatypes.py in setitem(self, prop, value)
2665 # ### Handle compound property ###
2666 if isinstance(validator, CompoundValidator):
-> 2667 self._set_compound_prop(prop, value)
2668
2669 # ### Handle compound array property ###

c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages\plotly\basedatatypes.py in _set_compound_prop(self, prop, val)
2963 validator = self._validators.get(prop)
2964 # type: BasePlotlyType
-> 2965 val = validator.validate_coerce(val)
2966
2967 # Save deep copies of current and new states

c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages_plotly_utils\basevalidators.py in validate_coerce(self, v)
1875
1876 elif isinstance(v, dict):
-> 1877 v = self.data_class(**v)
1878
1879 elif isinstance(v, self.data_class):

c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages\plotly\graph_objs\scattergeo_marker.py in init(self, arg, autocolorscale, cauto, cmax, cmin, color, colorbar, colorscale, colorsrc, gradient, line, opacity, opacitysrc, reversescale, showscale, size, sizemin, sizemode, sizeref, sizesrc, symbol, symbolsrc, **kwargs)
1175 self.cmin = cmin if cmin is not None else _v
1176 _v = arg.pop('color', None)
-> 1177 self.color = color if color is not None else _v
1178 _v = arg.pop('colorbar', None)
1179 self.colorbar = colorbar if colorbar is not None else _v

c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages\plotly\basedatatypes.py in setattr(self, prop, value)
2702 prop in self._validators):
2703 # Let known properties and private properties through
-> 2704 super(BasePlotlyType, self).setattr(prop, value)
2705 else:
2706 # Raise error on unknown public properties

c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages\plotly\graph_objs\scattergeo_marker.py in color(self, val)
165 @color.setter
166 def color(self, val):
--> 167 self['color'] = val
168
169 # colorbar

c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages\plotly\basedatatypes.py in setitem(self, prop, value)
2674 # ### Handle simple property ###
2675 else:
-> 2676 self._set_prop(prop, value)
2677
2678 # Handle non-scalar case

c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages\plotly\basedatatypes.py in _set_prop(self, prop, val)
2904 # ------------
2905 validator = self._validators.get(prop)
-> 2906 val = validator.validate_coerce(val)
2907
2908 # val is None

c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages_plotly_utils\basevalidators.py in validate_coerce(self, v, should_raise)
1077 validated_v = self.vc_scalar(v)
1078 if validated_v is None and should_raise:
-> 1079 self.raise_invalid_val(v)
1080
1081 v = validated_v

c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages_plotly_utils\basevalidators.py in raise_invalid_val(self, v)
223 typ=type_str(v),
224 v=repr(v),
--> 225 valid_clr_desc=self.description()))
226
227 def raise_invalid_elements(self, invalid_els):

ValueError:
Invalid value of type 'builtins.str' received for the 'color' property of scattergeo.marker
Received value: 'colors[i-6]'

The 'color' property is a color and may be specified as:
  - A hex string (e.g. '#ff0000')
  - An rgb/rgba string (e.g. 'rgb(255,0,0)')
  - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
  - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
  - A named CSS color:
        aliceblue, antiquewhite, aqua, aquamarine, azure,
        beige, bisque, black, blanchedalmond, blue,
        blueviolet, brown, burlywood, cadetblue,
        chartreuse, chocolate, coral, cornflowerblue,
        cornsilk, crimson, cyan, darkblue, darkcyan,
        darkgoldenrod, darkgray, darkgrey, darkgreen,
        darkkhaki, darkmagenta, darkolivegreen, darkorange,
        darkorchid, darkred, darksalmon, darkseagreen,
        darkslateblue, darkslategray, darkslategrey,
        darkturquoise, darkviolet, deeppink, deepskyblue,
        dimgray, dimgrey, dodgerblue, firebrick,
        floralwhite, forestgreen, fuchsia, gainsboro,
        ghostwhite, gold, goldenrod, gray, grey, green,
        greenyellow, honeydew, hotpink, indianred, indigo,
        ivory, khaki, lavender, lavenderblush, lawngreen,
        lemonchiffon, lightblue, lightcoral, lightcyan,
        lightgoldenrodyellow, lightgray, lightgrey,
        lightgreen, lightpink, lightsalmon, lightseagreen,
        lightskyblue, lightslategray, lightslategrey,
        lightsteelblue, lightyellow, lime, limegreen,
        linen, magenta, maroon, mediumaquamarine,
        mediumblue, mediumorchid, mediumpurple,
        mediumseagreen, mediumslateblue, mediumspringgreen,
        mediumturquoise, mediumvioletred, midnightblue,
        mintcream, mistyrose, moccasin, navajowhite, navy,
        oldlace, olive, olivedrab, orange, orangered,
        orchid, palegoldenrod, palegreen, paleturquoise,
        palevioletred, papayawhip, peachpuff, peru, pink,
        plum, powderblue, purple, red, rosybrown,
        royalblue, saddlebrown, salmon, sandybrown,
        seagreen, seashell, sienna, silver, skyblue,
        slateblue, slategray, slategrey, snow, springgreen,
        steelblue, tan, teal, thistle, tomato, turquoise,
        violet, wheat, white, whitesmoke, yellow,
        yellowgreen
  - A number that will be interpreted as a color
    according to scattergeo.marker.colorscale
  - A list or array of any of the above

@leirhyh72
Copy link

Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32
import plotly
plotly.version
'3.2.0'

import cufflinks
cufflinks.version
'0.13.0'

@leirhyh72
Copy link

Thanks and I appreciate your time.
Tim

@timkpaine
Copy link
Contributor

can you send a repro, like what are you executing

@coulanuk
Copy link

I get the same error with the same versions as @timkpaine .

Error :
ValueError: Invalid value of type 'builtins.str' received for the 'bgcolor' property of layout.legend
Received value: 'pearl02'

O/S : Ubuntu 18.04
Python Version: 3.7.0 (default, Jun 28 2018, 19:31:47)
[GCC 7.3.0]
Plotly Version: 3.2.0
Cufflinks Version: 0.13.0

Repro (taken from the online example:)
import plotly
import cufflinks as cf
import sys
cf.set_config_file(offline=True)
print("Python Version: %s" % sys.version)
print("Plotly Version: %s" % plotly.version)
print("Cufflinks Version: %s" % cf.version)
iplot(cf.datagen.lines().iplot(asFigure=True,kind='scatter',xTitle='Dates',yTitle='Returns',title='Returns'))

Many thanks & appreciate your great efforts.

Andy

@timkpaine
Copy link
Contributor

I can repro against pypi disted cufflinks, but not my source repo (which matches this repo). Can you try to pip install this git repo directly and see if it still happens?

screen shot 2018-09-11 at 4 01 32 pm

@timkpaine
Copy link
Contributor

timkpaine commented Sep 11, 2018

ah, 0.14 isn't on pypi yet. 0.13 doesn't support plotly3.

@leirhyh72
Copy link

my code is ad following:
import plotly
import plotly.plotly as py
import plotly.graph_objs as go

plotly.offline.init_notebook_mode()

import pandas as pd
coords = pd.concat([housing['latitude'], housing['longitude'], housing['population']], axis=1)

coords = coords.sample(frac=0.1, replace=True)
cases = []
colors = ['rgb(239,243,255)','rgb(189,215,231)','rgb(107,174,214)','rgb(33,113,181)']
months = {6:'June',7:'July',8:'Aug',9:'Sept'}

for i in range(6,10)[::-1]:
cases.append(go.Scattergeo(
lon = coords['longitude'],
lat = coords['latitude'],
marker = dict(
size = coords['population']/1000,
color = 'colors[i-6]',
opacity = .4,
line = dict(width = 0)
),
) )

cases[0]['mode'] = 'markers'

layout = go.Layout(
title = 'Hey look! It's a scatter plot on a map!',
geo = dict(
resolution = 100,
scope = 'usa',
showframe = False,
showcoastlines = True,
showland = True,
landcolor = "rgb(229, 229, 229)",
countrycolor = "rgb(255, 255, 255)" ,
coastlinecolor = "rgb(255, 255, 255)",
projection = dict(
type = 'Mercator'
),
lonaxis = dict( range= [ -124.0, -113.0 ] ),
lataxis = dict( range= [ 32.0, 43.0 ] ),

),
legend = dict(
       traceorder = 'reversed'
)

)

fig = go.Figure(layout=layout, data=cases)
plotly.offline.iplot(fig, validate=False, filename='iantest')

@timkpaine
Copy link
Contributor

@leirhyh72 please install 0.14

@leirhyh72
Copy link

when I use pip install, it is 0.14, do I need to install from the source??

@leirhyh72
Copy link

I mean 0.13, sorry

@timkpaine
Copy link
Contributor

0.14 isn't disted to pypi yet:
pip install git+git://github.com/santosjorge/cufflinks.git#egg=cufflinks

@leirhyh72
Copy link

Hi Tim,
Interestingly, I installed cufflinks as the above. The version is still 0.13.
Requirement already satisfied: jupyter-core in c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages (from nbformat>=4.2->plotly>=2.0.0->cufflinks) (4.4.0)
Requirement already satisfied: traitlets>=4.1 in c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages (from nbformat>=4.2->plotly>=2.0.0->cufflinks) (4.3.2)
Requirement already satisfied: ipython-genutils in c:\users\leirhyh\appdata\local\programs\python\python37-32\lib\site-packages (from nbformat>=4.2->plotly>=2.0.0->cufflinks) (0.2.0)

C:\Users\leirhyh>python
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

import cufflinks
C:\Users\leirhyh\AppData\Local\Programs\Python\Python37-32\lib\site-packages\plotly\graph_objs_deprecations.py:558: DeprecationWarning:

plotly.graph_objs.YAxis is deprecated.
Please replace it with one of the following more specific types

  • plotly.graph_objs.layout.YAxis
  • plotly.graph_objs.layout.scene.YAxis

C:\Users\leirhyh\AppData\Local\Programs\Python\Python37-32\lib\site-packages\plotly\graph_objs_deprecations.py:531: DeprecationWarning:

plotly.graph_objs.XAxis is deprecated.
Please replace it with one of the following more specific types

  • plotly.graph_objs.layout.XAxis
  • plotly.graph_objs.layout.scene.XAxis

cufflinks.version
'0.13.0'

My system is windows 10

Can you give me some suggestions? Thanks

@coulanuk
Copy link

Thanks @timkpaine : installing cufflinks 0.14 from git did the trick, it works fine for me.
Andy

@leirhyh72
Copy link

Do I need to uninstall the 0.13 and try to install from source? Thanks

@timkpaine
Copy link
Contributor

read above

@leirhyh72
Copy link

I did use "pip install git+git://github.com/santosjorge/cufflinks.git#egg=cufflinks"
but the version is still 0.13. Don't know why. I may uninstall all cufflinks if possible and reinstall it again. What do you think? Thanks, Tim

@timkpaine
Copy link
Contributor

did it actually install? if you have an install you probably need -U

@leirhyh72
Copy link

Hi Tim, after I add -U, 0.14 was successfully installed. However, the same error appeared. Don't know why. Any input? Thanks, Tim

@kenibrewer
Copy link

@leirhyh72 Are you using cufflinks within an iPython session or a Jupyter Notebook? You may need to restart your kernel to get it to work. I continued having the same error as you after install until I restarted my Jupyter notebook kernel.

@AlaaElagha
Copy link

Upgrading to 0.14.0 with
pip install git+git://github.com/santosjorge/cufflinks.git#egg=cufflinks -U
works. I am running Jupyter notebook on OSX.

I have struggled with this for the last couple of week. Thank you so much guys

import plotly
plotly.version
'3.2.0'

import cufflinks
cufflinks.version
'0.14.1'

@DavidJBianco
Copy link

I can confirm that this is now working properly for me with Plotly 3.2.1 and cufflinks 0.14.4. Thanks for all the hard work @santosjorge! Not to bug you too much about it, but do you have plans to push this to PyPi soon?

@taxus13
Copy link

taxus13 commented Sep 18, 2018

@DavidJBianco when did you check for cufflinks 0.14.4?
It is listed at PyPi: https://pypi.org/project/cufflinks/

@DavidJBianco
Copy link

Sorry, you're correct. I had it installed from conda-forge, which isn't up-to-date. Switching to the PyPi version was pretty simple.

Wild266 pushed a commit to Wild266/redesigned-invention that referenced this issue Nov 5, 2018
@cpoptic
Copy link

cpoptic commented May 8, 2019

Can confirm this error still is thrown under Plotly version 3.9.0 and cufflinks version 0.15.

How do we resolve this? (aside from downgrading from Plotly 3.9.0)

@Idodox
Copy link

Idodox commented May 22, 2019

@cpoptic are you certain you're running 0.15? I was running 0.13 when I hit it and upgrading certainly solved it for me..

@Jvdahemad
Copy link

Same error with plotly 3.9, but downgrading it to 3.7 does help.

@discdiver
Copy link

3.9 with 0.13 was problematic for me. Upgrading cufflinks to 0.15 fixed the issue. FYI, the latest version on Conda is 0.13.

@santosjorge
Copy link
Owner

At the moment there is no official Conda repo. I think someone created one but not sure if it is being kept up to date. Better to always use PyPi.

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