Erdogan

Results 195 comments of Erdogan

What is your Python version? There is one newer update. force install from pypi: `pip install -U bnlearn` did you try this: ``` from matplotlib.pyplot import plot, draw draw() ```...

Can you try this: `plt.show(block=False)`

Did you try to change the backend of matplotlb? See [this](https://stackoverflow.com/questions/7534453/matplotlib-does-not-show-my-plot-although-i-call-pyplot-show) thread on stack. ``` import matplotlib matplotlib.use("gtk") ``` or maybe `%matplotlib inline`

I use the latest one.

What do you have? ``` import matplotlib.rcsetup as rcsetup print(rcsetup.all_backends) ```

You can try to set it to: `matplotlib.use("GTK3Agg") ` You can also try this: ```%matplotib inline```

Otherwise, I recommend creating a new environment. Maybe something did accidentally break.

There was also a thread about empty figures in matplotlib: https://github.com/matplotlib/matplotlib/issues/12074 Maybe it is also helpful to you.

When you only have data, and want to start without a structure, try the structure learning. However the methods in bnlearn does require data to be discrete. Two suggestions how...

You are right. The second part does need a DAG at start. Unfortunately there is no other implementation yet.