onemetric icon indicating copy to clipboard operation
onemetric copied to clipboard

compatibility with matplotlib

Open elmonkey opened this issue 1 year ago • 3 comments

Explanation/ error:

  • ValueError: keyword grid_b is not recognized; valid keywords are ...

pip show matplotlib

Name: matplotlib Version: 3.7.1

  • see matplotlib history/report [issue25267] (https://github.com/matplotlib/matplotlib/issues/25267)

Why?

  • my guess: no version or requirement declaration for matplotlib

Recommended fix: The argument b in ax.grid(b) was replaced with visible in matplotlib but not in the mAP plot implementation: https://github.com/SkalskiP/onemetric/blob/0825da56c3d17b2d6082fcb3d60e5ee330d5d09b/onemetric/cv/object_detection/mean_average_precision.py#L126

elmonkey avatar Jun 16 '23 22:06 elmonkey

I have the same problem. Did you manage to fix it?

ramikheireddine avatar Nov 21 '23 21:11 ramikheireddine

Hi, @ramikheireddine! 👋🏻 What metric you use?

SkalskiP avatar Nov 22 '23 09:11 SkalskiP

Hi @SkalskiP, thank you for responding. I am trying to run this code on Linux: spladder viz --track splicegraph gene1 -o directory -O output

I am getting: ValueError: keyword grid_b is not recognized; valid keywords are ...

matplotlib v 3.8.2 seaborn v 0.13.0 spladder v 3.0.4

I suspect a compatibility issue between the versions.

ramikheireddine avatar Nov 22 '23 16:11 ramikheireddine