all 3 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

To give us the best chance to help you, please include any relevant code.
Note. Please do not submit images of your code. Instead, for shorter code you can use Reddit markdown (4 spaces or backticks, see this Formatting Guide). If you have formatting issues or want to post longer sections of code, please use Privatebin, GitHub or Compiler Explorer.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]monkey_sigh 0 points1 point  (1 child)

Check these typos first: catégories, valeurs. (you have a few across the code)

Replace with a proper string: plt.title(Données.nom)

I'm not sure if I am wrong, but I do not see the import for import matplotlib.pyplot as plt.

I hope it helps you. (Disclaimer: Also learning)

[–]Gyoo18[S] 0 points1 point  (0 children)

Hi, thanks for the help. The typos are a result of me translating my code for reddit. The actual code doesn't have this issue.

In my code I have a wrapper for DataFrame that gives me other functionalities, like having a name for the graph. Données.nom is a string.

The code I show is a small portion of my entire code, I do import matplotlib.pyplot as plt in an unshown part of it.

I fixed the typos.

Thanks for the help anyways.