Skip to content

fix plot.py to work with kaleido v1#418

Merged
wdecoster merged 1 commit intowdecoster:masterfrom
microbemarsh:kaleido_update
Jul 24, 2025
Merged

fix plot.py to work with kaleido v1#418
wdecoster merged 1 commit intowdecoster:masterfrom
microbemarsh:kaleido_update

Conversation

@microbemarsh
Copy link
Contributor

@microbemarsh microbemarsh commented Jul 23, 2025

#417

Updated nanoplotter/plot.py to use new kaleido v1 libraries/syntax.

Performed minimal test with fresh pip install with a random file.fastq.gz. Test results can be found within this fork under scripts/agm_test.

Still need to update pip/conda builds to include this change.

@wdecoster
Copy link
Owner

That seems great! Do you have any insights regarding this change in kallisto:

Chrome is no longer included with Kaleido. Kaleido will look for an existing Chrome installation, but also provides commands for installing Chrome. If you don't have Chrome, you'll need to install it. See the installation section above for instructions.

From https://pypi.org/project/kaleido/#:~:text=Migrating%20from%20v0%20to%20v1
Is that going to be a problem?

Copy link
Contributor Author

@microbemarsh microbemarsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chrome uncertainties

Comment on lines +8 to +11
# bring in kaleido and ensure Chrome is installed
import kaleido
# this will download a small headless Chrome build the first time you run it
kaleido.get_chrome_sync()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wdecoster This should resolve the chrome issue from what I understand.

@wdecoster
Copy link
Owner

Alright - that's great :-) Thanks so much!

@wdecoster wdecoster merged commit d01e636 into wdecoster:master Jul 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants