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

[ENH] Combined plot_spectra and plot_spectrum #198

Merged
merged 6 commits into from
Apr 13, 2021
Merged

[ENH] Combined plot_spectra and plot_spectrum #198

merged 6 commits into from
Apr 13, 2021

Conversation

ryanhammonds
Copy link
Contributor

@ryanhammonds ryanhammonds commented Mar 5, 2021

This addresses a point in #193. plot_spectra not accepts 1d arrays and plot_spectrum has been replaced by plot_spectra throughout the module. The same has been done with plot_spectra_shading, with plot_spectrum_shading removed.

Also, plot_spectrum has been aliased to plot_spectra in the __init__.py to not break anyone's code. This wasn't done for plot_spectrum_shading since it's not imported in the init.

@ryanhammonds ryanhammonds mentioned this pull request Apr 6, 2021
3 tasks
@TomDonoghue
Copy link
Member

I think I've updated this to all come together after merging #176

@ryanhammonds - when you get a chance, can you revisit this, and check the updates, and run some checks that it's all working / nothing goes weird? Thanks!

Copy link
Contributor Author

@ryanhammonds ryanhammonds left a comment

Choose a reason for hiding this comment

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

Everything looks good here! I rebuilt the site and made sure all instances of plot_spectra created correct plots. I also doubled checked in a notebook an everything plays nicely together (i.e. using colors or color).

@TomDonoghue
Copy link
Member

Awesome, thanks for the checks @ryanhammonds! And thanks for this PR, I really like the update here!

@TomDonoghue TomDonoghue merged commit 43c0304 into main Apr 13, 2021
@TomDonoghue TomDonoghue deleted the plts branch April 13, 2021 00:44
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