Fix matplotlib backend

This commit is contained in:
Gabriel Augendre 2022-09-25 20:33:18 +02:00
parent ae5860fc17
commit 3bf5ce3033

View file

@ -19,7 +19,7 @@ from matplotlib.figure import Figure
from purchase.models import Basket, PaymentMethod, Product, ProductQuerySet
matplotlib.use("Agg")
matplotlib.use("SVG")
@permission_required("purchase.view_basket")