Skip to content

2953 additional functionality to plot scanspy#2968

Merged
timothy-nunn merged 30 commits intomainfrom
2953-additional-functionality-to-plot_scanspy
Nov 1, 2023
Merged

2953 additional functionality to plot scanspy#2968
timothy-nunn merged 30 commits intomainfrom
2953-additional-functionality-to-plot_scanspy

Conversation

@chris-ashe
Copy link
Copy Markdown
Collaborator

Description

Added changes that now allow for 2D scans to be represented as a colour contour plot along with normal 1D scans now able to be presented as a stack of subplots

Checklist

I confirm that I have completed the following checks:

  • I have justified any large differences in the regression tests caused by this pull request in the comments.
  • I have added new tests where appropriate for the changes I have made.
  • If I have had to change any existing unit or integration tests, I have justified this change in the pull request comments.
  • If I have made documentation changes, I have checked they render correctly.
  • I have added documentation for my change, if appropriate.

@chris-ashe chris-ashe linked an issue Oct 12, 2023 that may be closed by this pull request
Copy link
Copy Markdown
Collaborator

@timothy-nunn timothy-nunn left a comment

Choose a reason for hiding this comment

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

Can you add a test of the 2D functionality and the stacking plots please.

Comment thread process/io/plot_scans.py Outdated
@timothy-nunn timothy-nunn merged commit 748d6b7 into main Nov 1, 2023
@timothy-nunn timothy-nunn deleted the 2953-additional-functionality-to-plot_scanspy branch November 1, 2023 09:36
chris-ashe added a commit that referenced this pull request Apr 22, 2024
* added colour contour plot option

* Fixed contour plot labels

* Added stack plots switch and subplot fig condition

* Can now do stacked plots and save

* Plot formatting

* Initial file commit

* bare except flake 8 fix

* Fig size and plot formatting

* auto figure scaling for multiple plots

* Initial no-scan plot attempt

* stack plots output filename format

* Legend placement format

* Integration test and outputdir command option

* remove outputdir

* integration test save directory fix

* Documentation additions

* Added in plot_proc images as extra

* default plot cutting and title addition

* only show legend if 2 or more plots files used

* minor ticks added

* comments tidy

* colour bar font size fix

* 2D contour and stack scan example documentation

* Removed spelling error in argparse

* stack and contour plot tests added
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.

Additional functionality to plot_scans.py

2 participants