Skip to content

Radar plots: Broken documentation for generating example #4259

Closed
@vprusso

Description

@vprusso

The following example in the "Radar chart" documentation page:

import plotly.express as px
import pandas as pd
df = pd.DataFrame(dict(
    r=[1, 5, 2, 2, 3],
    theta=['processing cost','mechanical properties','chemical stability',
           'thermal stability', 'device integration']))
fig = px.line_polar(df, r='r', theta='theta', line_close=True)
fig.show()

yields the following error:

AttributeError: 'DataFrame' object has no attribute 'append'. Did you mean: '_append'?

The reason for this issue is most likely due to the plotly.express component not abiding by the migration guidelines.

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