diff --git a/chatchart/chatchart.py b/chatchart/chatchart.py index 2b4405c..d337892 100644 --- a/chatchart/chatchart.py +++ b/chatchart/chatchart.py @@ -8,7 +8,9 @@ import heapq import os from io import BytesIO import matplotlib +matplotlib.use('agg') import matplotlib.pyplot as plt +plt.switch_backend('agg') from discord.ext import commands