Ask coding questions

← Back to all posts
Matplotlib causing Flask to not run?
witchcord (1)

This is supposed to be a Discord bot which takes in a message and then generates an image off of it.

However, after introducing Matplotlib, I have found that the Flask browser and its associated webpage crash/go down with error 405 after calling the command. I have included a screen-shot of the page, as the error does not happen until the bot is asked to complete its task.

Any ideas on what interaction may be causing this to happen? I was able to narrow it down to Matplotlib, but not exactly the interaction between the two libraries which may be causing the issue.

Thanks in advance!

NathanBoehm (0)

It looks like you figured it out. How did you do it? What did you do that got it working?
EDIT: Turns out it fixes itself after about a day.