FrandsenGroup / magbuilder

0 stars 0 forks source link

Error for matplotlib 3.5.0 #1

Open benfrandsen opened 2 years ago

benfrandsen commented 2 years ago

Something about the get_facecolors() method in matplotlib version 3.5.0 breaks the program due to an indexing error. This error is not present for matplotlib version 3.3.4. Need to try to figure this out.

benfrandsen commented 2 years ago

Best workaround for now: conda create --name myenv python=3 conda activate myenv conda install matplotlib conda install -c diffpy diffpy-cmi python setup.py install

Installing matplotlib first installs the latest stable version (3.5.1 at the time of writing), which is then downgraded to 3.1.2 when diffpy-cmi is installed. Then install diffpy.mpdf from setup.py. Everything should work at that point.