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
The plot_2D_Data is not working if the axis is requested whereas it has only one value. The plot crashes because xlabel and xticks are not initialized if they are None, due to the following code part:
if (
axis.extension
in [
"whole",
"interval",
"oneperiod",
"antiperiod",
"smallestperiod",
"axis_data",
"list",
]
and len(axis.values) > 1
or (len(axis.values) == 1 and len(axes_list) == 1)
)
Maybe it is best to clearly raise an Exception for this case ?
The text was updated successfully, but these errors were encountered:
EmileDvs
changed the title
Error when performing plot_2D_Data for DataND with two axes and one time value
Raise exception when performing plot_2D_Data for DataND with one value for requested axis
Mar 8, 2022
Uh oh!
There was an error while loading. Please reload this page.
The plot_2D_Data is not working if the axis is requested whereas it has only one value. The plot crashes because xlabel and xticks are not initialized if they are None, due to the following code part:
Maybe it is best to clearly raise an Exception for this case ?
The text was updated successfully, but these errors were encountered: