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

Adjust frequency plotting function #9

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

npaulish
Copy link
Contributor

  • Remove the line, leave only the scatter plot
  • Allow to invert x axis when plotting dHvA frequencies
    add invert_x: bool = False argument to plot_xy function, which is called when executing plot_frequency_workchain or plot_frequency_calc functions. This is useful when comparing different rotation paths if at one of the paths the relevant angle is decreasing.
  • Small fix to avoid AiidaDeprecationWarning

  * Remove the line, leave only the scatter plot

Allow to invert x axis when plotting dHvA frequencies
  * add `invert_x: bool = False` argument to `plot_xy` function,
    which is called when executing `plot_frequency_workchain` or
    `plot_frequency_calc` functions.
This is useful when comparing different rotation paths if
at one of the paths the relevant angle is decreasing.

Small fix to avoid AiidaDeprecationWarning
npaulish and others added 2 commits July 9, 2024 16:38
 - pass **kwargs to ax.scatter. This allows to change markers, color, marker size etc.
 - allow to scale/offset x axis by specifying `scale_x` or `x_offset` keywords to facilitate comparison.
 - `show_legend` keyword to enable/disable legend. Default is `True`
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.

1 participant