Skip to content
Snippets Groups Projects
Commit 21371596 authored by mnsc's avatar mnsc
Browse files

demo bug fix, plotting works

parent b2616e7e
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ import numpy as np
import matplotlib.pyplot as plt
import torch
import supr
from tspn.utils import drawnow, arrange_figs
from supr.utils import drawnow
from scipy.stats import norm
#%% Dataset
......
......@@ -9,6 +9,7 @@ from PyQt5 import QtWidgets
# %%
def drawnow():
plt.show(block=False)
plt.gcf().canvas.draw()
plt.gcf().canvas.flush_events()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment