I want to plot a graph in xkcd style in my PyQt application. Since it is not recommended to use pyplot together with the Qt5Agg-backend I am struggling to find a right way to import the xkcd package so that I can use it without pyplot.
The normal way to use the xkcd-package would be
from matplotlib import pyplot as plt
plt.xkcd()
But I am using
import matplotlib
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg
So is there a way plotting in xkcd style without using pyplot?