I am trying to import plot_spatial_weights
from pysal.viz.splot.libpysal
this what I am doing
from pysal.viz.splot.libpysal import plot_spatial_weights
and I get the error
ModuleNotFoundError: No module named 'pysal.viz'
I am trying to import plot_spatial_weights
from pysal.viz.splot.libpysal
this what I am doing
from pysal.viz.splot.libpysal import plot_spatial_weights
and I get the error
ModuleNotFoundError: No module named 'pysal.viz'
If this problem occurred due to pysal 2.0, maybe switching to pysal 1.14 will wipe out this error. Check this topic: https://github.com/darribas/gds18/issues/8