Open quant12345 opened 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 95.0%. Comparing base (
ddbb88e
) to head (71ab0e8
). Report is 33 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Please confirm that this PR has done the following:
Description of PR
Removes the warnings:
tests to check isin:
``` pytest tests/test_plotting.py::test_line_plot_cmap_color_arg pytest tests/test_plotting.py::test_line_color pytest tests/test_plotting.py::test_line_PYAM_COLORS pytest tests/test_plotting.py::test_line_color_fill_between pytest tests/test_plotting.py::test_line_color_fill_between_interpolate pytest tests/test_plotting.py::test_line_color_final_ranges pytest tests/test_plotting.py::test_line_filter_title pytest tests/test_plotting.py::test_line_update_rc pytest tests/test_plotting.py::test_scatter_variables_with_meta_color ```tests to check scalar:
``` pytest tests/test_timeseries.py::test_cross_treshold pytest tests/test_timeseries.py::test_cross_treshold_from_below pytest tests/test_timeseries.py::test_cross_treshold_from_above ```np.in1d
is replaced bynp.isin
.To get
scalar
values during iteration I made theyears
array flat having appliedravel()
. Theyears
values have an extra dimension, which is why there is a warning: