Skip to content

Commit 65c79fe

Browse files
committed
update plot.py
1 parent d7e240d commit 65c79fe

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

kessler/plot.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import tempfile
1717
import pyro
1818
import dsgp4
19-
from pyprob.distributions import Empirical
2019
import numpy as np
2120
import torch
2221

@@ -25,8 +24,6 @@
2524

2625
mpl.rcParams['axes.unicode_minus'] = False
2726

28-
# I need to re-write this w.r.t. pyprob, since 'nonposy', 'nonposx' are deprecated in favour of 'nonpositive'
29-
# TODO: transform this into a more generic plot_priors, that takes the priors dict, and plots each mixture
3027
def plot_mix(mix, min_val=-10, max_val=10, resolution=1000, figsize=(10, 5), xlabel=None, ylabel='Probability', xticks=None, yticks=None, log_xscale=False, log_yscale=False, file_name=None, show=True, fig=None, ax = None, *args, **kwargs):
3128
if ax is None:
3229
if not show:

0 commit comments

Comments
 (0)