Closed matt-graham closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.1%. Comparing base (
fad6e67
) to head (f558c9e
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@Phillu99 let me know if what I've added here resolves the issue from your perspective.
Resolves #19
Adds a new
share_value_axis
boolean argument todxh.plot_1d_functions
anddxh.plot_2d_functions
that allows using a shared axis scaling for function values when multiple functions are being plotted. For 1D functions this corresponds to using a shared vertical axis scaling. For 2D functions plotted as a pseudocolor plot this corresponds to using a common normalization to the colormapping used, and for 2D functions plotted as a surface plot this corresponds to using a common scaling on the vertical (z) axis (and a common normalization to the colormapping if relevant).Tests are also extended to cover both values of new argument.