Closed Zstark11 closed 1 month ago
The problem has been resolved. For the latest version 0.9.4 of Pertpy, the drawing function needs to be changed. For example, pt. pl. coda. boxplots need to be changed to sccoda_model.plot_boxplots. I hope this can help everyone.
@Zstark11 It worked. Thank you for sharing.
Describe the bug When using the pt.pl.coda.boxplots function, an AttributeError occurs: AttributeError: module 'pertpy.plot' has no attribute 'coda', which prevents the function from executing successfully.
To Reproduce Steps to reproduce the behavior:
Python runtime environment and version:I have tried versions Python 3.9, 3.10, and 3.12. The pertpy version is 0.9.4, and I have also tried downgrading it to versions 0.8.0 through 0.5.0. The omicverse version is 1.6.6.
Run the following code:
See error: AttributeError: module 'pertpy.plot' has no attribute 'coda'。 Regarding the installation of pertpy, following pip install 'pertpy [coda]' still yields an error AttributeError: module 'pertupy. plot' has no attribute 'coda'