Skip to content

Clarify recommended approach to create and update additional chart types #522

@erika-tyagi

Description

@erika-tyagi

Thank you for this fantastic package! I'm creating a series of maps that I want to update and re-publish on a regular basis, but I see these deprecation warnings:

DeprecationWarning: update_chart() is deprecated and will be removed in a future version. Use the object-oriented chart classes instead. Example: chart = BarChart.get(chart_id='abc123'); chart.title = 'New Title'; chart.update()

DeprecationWarning: publish_chart() is deprecated and will be removed in a future version. Use the object-oriented chart classes instead. Example: chart = BarChart.get(chart_id='abc123'); chart.publish()

As far as I can tell from looking at the documentation and poking around the source code, it doesn't seem like maps (in my case: chart_type="d3-maps-choropleth") are a supported chart type or have an exposed class. Is there a recommended approach for me to avoid writing code that will be deprecated? (I also see some activity in this PR that might address this, but I wanted to check in the meantime). Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions