Peilonrayz / dice_stats

Dice statistics made simple.
MIT License
3 stars 1 forks source link

Make numpy and matplotlib optional dependencies #1

Closed sponsfreixes closed 4 years ago

sponsfreixes commented 4 years ago

From what I see, numpy is only used for the plot_wireframes function, and matplotlib is only used to build the documentation.

What do you think of making them optional dependencies? If agreed, I can come with a proposal and PR.

Peilonrayz commented 4 years ago

Hey, yeah that sounds fine. 👍

I remember debating whether I want the plot_wireframes function at all. It's got no documentation and is janky, but for now I want to keep it. A simple change to not import it should be sufficient, as then if you need it you can just import dice_stats.display.