Skip to content

Deprecate transforms in v2 #5652

@archmoj

Description

@archmoj
Contributor

We should remove transforms from the bundles but keep a way to re-include them.

Activity

nicolaskruchten

nicolaskruchten commented on May 11, 2021

@nicolaskruchten
Contributor

Let's hold off on this one until we can talk about it next week

nicolaskruchten

nicolaskruchten commented on May 13, 2021

@nicolaskruchten
Contributor

I think we should not change anything, because we have not been advertising them as "deprecated" but we can start in v2. so I'll remove them from docs and we can mark those attributes as "deprecated" in the schema, but keep them in all the same places they are now bundle-wise

archmoj

archmoj commented on May 13, 2021

@archmoj
ContributorAuthor

The transforms are a registered method (function) on the plotly API.
It appears we cannot "deprecate" transforms similar to other data attributes by putting it in a _deprecated container.
So I am wondering what is the expected behaviour for deprecating transforms?
Just changing the description similar to what we did for heatmapgl is enough?
Should Plotly.validate pass or it does not matter while there is #4759 bug?!

nicolaskruchten

nicolaskruchten commented on May 13, 2021

@nicolaskruchten
Contributor

Yes, including some deprecation text in the schema attributes is enough for me.

Domino987

Domino987 commented on Apr 10, 2023

@Domino987
Contributor

@nicolaskruchten Hello, i was wondering why the transformers were deprecated and if there is a way to include a similar function (filtering data above a threshold) nativly with plotly?

There is of course the possibility to filter the data outside of plotly, but I would assume it could be faster to do it within the lib?

chadamski

chadamski commented on May 10, 2023

@chadamski

@nicolaskruchten Hello, i was wondering why the transformers were deprecated and if there is a way to include a similar function (filtering data above a threshold) nativly with plotly?

There is of course the possibility to filter the data outside of plotly, but I would assume it could be faster to do it within the lib?

I'm also looking for some guidance on why transforms are being deprecated and what the recommended alternate method of handling will be.

andoks

andoks commented on Nov 7, 2023

@andoks

I would also like to know what alternatives there are to the transform functionality

Also I believe this relates to the deprecation notices change in the docs plotly/graphing-library-docs@8b334a9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @andoks@nicolaskruchten@chadamski@Domino987@archmoj

      Issue actions

        Deprecate transforms in v2 · Issue #5652 · plotly/plotly.js