Update chatchart for matplotlib backend

This commit is contained in:
aikaterna
2017-10-03 09:44:41 -07:00
committed by GitHub
parent 5e9fa245b3
commit c3fea724f5

View File

@@ -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