Plot Distribution Bug report

BUG REPORT

Type of issue
Setup in GUI

Description
There is a warning information when I want to plot the particle size distribution. I want to know how to solve this error.

Attach project files
bubble_2024-03-08T082510.860806.zip (33.9 MB)

Hi - this error is due to a change in the matplotlib library we use for plotting. This will be fixed for the next MFiX release.

If you are seeing the plot, then this error can be ignored. But if it’s bothering you, you can fix it now:

  1. go to the directory $CONDA_PREFIX/lib/python3.10/site-packages/mfixgui/widgets/

  2. Edit the file psd_popup.py (after backing it up) and change line 438 from:

fig.execute_constrained_layout()

to

fig.set_layout_engine('constrained')

and restart MFiX