Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding matplotlib plotting support with a tooltip hover #268

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

K20shores
Copy link
Collaborator

@K20shores K20shores commented Oct 16, 2024

Closes #269

Adds an option to choose the plotting backend (gnuplot or matplotlib). Also adds tooltips to matplotlib

It can be used like this: music_box -e Analytical --plot CONC.A,CONC.B,CONC.C --plot-tool matplotlib -o/dev/null

Screenshot 2024-10-16 at 9 20 12 AM

@K20shores K20shores merged commit 79d7429 into main Oct 17, 2024
4 checks passed
@K20shores K20shores deleted the matplotlib_plotting branch October 17, 2024 20:06
@SancyW SancyW self-assigned this Oct 17, 2024
@NCAR NCAR locked and limited conversation to collaborators Oct 17, 2024
@NCAR NCAR unlocked this conversation Oct 17, 2024
@SancyW
Copy link
Collaborator

SancyW commented Oct 17, 2024

Great achievements! Matplotlib looks much better than Gnuplot!

@SancyW
Copy link
Collaborator

SancyW commented Oct 17, 2024

Thank you very much! Here is a suggestion: if the default unit for the results could be set to ppb, it would be very helpful. Generally, the default is ppb, but OH and HO2 are in molecule cm-3.

@K20shores
Copy link
Collaborator Author

Hi @SancyW thanks for that suggestion, but further customization of the plotting is not work we can prioritize. I will make an issue for it and detail it. This kind of work is a bit outside of the scope of the support we have the bandwidth to provide. It may be both easier and faster for you to write some post processing scripts to read and plot the data

@SancyW
Copy link
Collaborator

SancyW commented Oct 18, 2024

Hi @K20shores Thanks for letting me know, and I understand it. Yes, It's just a minor issue, so I will address it

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.

Plot with matplotlib
3 participants