Skip to content

Bring back ArviZ wrappers with DeprecationWarnings #4528

Closed
@michaelosthege

Description

@michaelosthege

@twiecki and I discussed about the bad user experience we accidentally caused by removing ArviZ wrappers.
Many users did not yet upgrade, so we have a chance to fix the UX and ease the transition.

Here's how:

  • On the v3 branch we reintroduce the wrappers with the same API they had before. But we add warnings.warn() to nudge users towards one of the options beflow.
  • On the master and v4 branches we replace the above warnings.warn() with a raise DeprecationWarning. This is better than removing the function entirely, because we can still communicate instructions.

Options for future wrappers:

  1. pm.az: by introducing import arviz as az into the PyMC3 __init__.py
  2. pm.plotting: by introducing import arviz as plotting into the PyMC3 __init__.py

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions