Julia crashes when using ImageView together with PyPlot

In one of my machines, it has become impossible for me to use PyPlot and ImageView at the same time, Julia crashes with a message like:

XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2

julia> imshow(ii)

signal (11): Segmentation fault
in expression starting at REPL[9]:1
_PyErr_Restore at /home/nicolau/.julia/conda/3/lib/libpython3.8.so.1.0 (unknown line)
PyDict_GetItem at /home/nicolau/.julia/conda/3/lib/libpython3.8.so.1.0 (unknown line)

Is this an issue I should bring up to the ImageView, PyPlot, PyCall or Julia projects?.. And are there any workarounds I can try?

It has been long time, but this or similar error was solved by this:

Basically, add backend: WebAgg in your matplotlibrc.
matplotlibrc is located somewhere like this:
somefolder/lib/python3.9/site-packages/matplotlib/mpl-data/matplotlibrc

At some point, I didn’t have to add backend: WebAgg and pyplot and imageview both worked fine. However, I noticed that pyplot elicited some fatal errors after some work with multithreading. After adding the backend magic, it does not give any trouble.