You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
).preprocess()
# patch the reverse_preprocessing function# returning a GriddData object# created with a sample of the test_datawithpatch(
"py3dinterpolations.plotting.plotting.reverse_preprocessing",
return_value=GridData(test_data.sample(n=50, random_state=42)),
):
fig=plot_downsampling(gd, preprocessed_gd)
# assert is figureassertisinstance(fig, Figure)
# assert figure has n visible axesn=len(gd.data.index.get_level_values("ID").unique())
visible_axes= [axforaxinfig.axesifax.get_visible()]
assertlen(visible_axes) ==n# # TODO assert each axes has 2 lines
The text was updated successfully, but these errors were encountered:
https://api.github.com/giocaizzi/py3dinterpolations/blob/4544c573a8e987c599122c5a0906450b7e2bfa18/tests/plotting/test_plotting.py#L43
The text was updated successfully, but these errors were encountered: