Open
Description
import torchdrug
will result in GUI of matplotlib use agg and the figure cant show. In general, the GUI of matplotlib use module://backend_interagg
to show figure. Agg is non-GUI backend, so please tell why? In the graph.py
, i find the function named visualize to show figure, but i cant find why change it. Hope to get your reply! Thanks!
Tip:
I find a solution to solve this problem.
under the all import, add matplotlib.use('module://backend_interagg')
and import matplotlib.