Closed otaGran closed 4 months ago
Hi @otaGran,
Thanks for reporting this issue. I can reproduce the error with matplotlib==3.9.0. It will be fixed in the next version of Sionna. For the moment, please consider downgrading to matplotlib<3.9.
Thank you for the head's up @otaGran, this will be fixed in the next Sionna released. In the meantime, you can either modify the usage locally or downgrade the Matplotlib version.
Fixed in v0.18.
Description
Viewing scenes in 3D with a coverage map will cause AttributeError when using matplotlib==3.9.0. The "matplotlib.cm.get_cmap()" function has been deprecated since matplotlib version 3.7.
Steps to Reproduce
Follow the Introduction to Sionna RT to generate a coverage map. Then, use "scene.preview(coverage_map=cm)" to view the scene with the coverage map.
Expected Behavior
A 3D preview with coverage map.
Actual Behavior
AttributeError: module 'matplotlib.cm' has no attribute 'get_cmap'
Check the matplotlib API document here.
Environment