Skip to content

Make transition to 1.0 easier #2577

@aseyboldt

Description

@aseyboldt

Tell us about your idea

Right now it is hard to write a library that depends on arviz and is compatible with both pre 1.0 and 1.0.
But I think with a few very small changes this could be made much easier:

If there was a arviz.InferenceData = xr.DataTree, typing hints for instance still work.
Similarly, there could be an alias arviz.plot_trace = arviz.plot_trace_dist.
I think those two would already help a lot, and I think a lot of code would just continue to work.

This should help transition of the whole ecosystem. Otherwise we can end up in strange situations where different libraries have to switch over at exactly the same time, and need very strict version requirements (nutpie and pymc for instance).

Thoughts on implementation

No response

References

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    DiscussionIssue open for discussion, still not ready for a PR on itFeature RequestNew functionality requests from users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions