Skip to content

Make matplotlib an optional dependency? #3

Open

Description

@fedarko

Not super important, but could be nice -- since some users might just want to create these matrices without visualizing them.

That said, the tradeoff here is we'd need to put in a lot of work to check that matplotlib is available before trying to import the stuff from _viz.py, and we'd need to update the pip install explanations to say "oh yeah install it as pip install wotplot[viz] or something. This seems potentially not worth the marginal benefit of not installing matplotlib in certain cases (esp since most users will probably already have it installed anyway)...

Update: with the advent of #14, we now use matplotlib in our tests, so this is gonna be more and more difficult to set up :|

Activity

  1. added
    enhancement
    on Aug 24, 2023
  2. changed the title [-]Make visualization dependencies (opencv, matplotlib) optional[/-] [+]Make matplotlib optional[/+] on Aug 29, 2023
  3. changed the title [-]Make matplotlib optional[/-] [+]Make matplotlib an optional dependency?[/+] on Sep 2, 2023
  4. added
    backburner
    on Oct 11, 2023
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

    backburnerenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions