Skip to content

ValueError: Invalid value of type 'builtins.str' received for the 'color' property of scatter.line Received value: 'rgba(255, 153, 51, np.float64(1.0))' #5376

@BaoNguyen0207207

Description

@BaoNguyen0207207

Here is my code in Jupyter Notebook:

import pandas as pd
import cufflinks as cf
import numpy as np
from IPython.display import display, HTML

cf.set_config_file(sharing = 'public', offline = True)

df_pivot.iplot(kind = 'line')

the problem appeared at this line of code: df_pivot.iplot(kind = 'line'). It has the same error as this post: #5046
Could somebody tell me which versions of plotly and cufflinks fix the bug above? Thanks a lot!

Here is the versions that I used:
import cufflinks as cf
import plotly, pandas as pd, numpy as np
cf.version, plotly.version, pd.version, np.version
('0.17.3', '5.18.0', '2.3.3', '1.26.4')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions