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
I'm curious about this shading behaviour that I've spotted with xplt.pcolormesh.
plot_data[2] there is a DataArray with some 18 minute data gap that is not represented by linear coordinates. In other words, running this for the plot data above:
What I wonder about then is what is that colour break at around 21:35? I initially thought that it's some sort of gradient between the left and the right points, but checking on some other plot examples I have, that wouldn't be very consistent. For instance,
In this one the shading goes into a local minimum in the left/first "half" of the missing data area. But then again, I'm probably just dealing with some weird/undefined behaviour here.
My end goal here is fill that out with white/missing colour, but I assume I'll need to compute a linear time coordinate space for that and fill out with NA the missing data with a Dataset.reindex operation. Please let me know if there's a better way to do that.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm curious about this shading behaviour that I've spotted with
xplt.pcolormesh
.plot_data[2]
there is aDataArray
with some 18 minute data gap that is not represented by linear coordinates. In other words, running this for the plot data above:Results in the following output:
What I wonder about then is what is that colour break at around 21:35? I initially thought that it's some sort of gradient between the left and the right points, but checking on some other plot examples I have, that wouldn't be very consistent. For instance,
In this one the shading goes into a local minimum in the left/first "half" of the missing data area. But then again, I'm probably just dealing with some weird/undefined behaviour here.
My end goal here is fill that out with white/missing colour, but I assume I'll need to compute a linear time coordinate space for that and fill out with NA the missing data with a
Dataset.reindex
operation. Please let me know if there's a better way to do that.Beta Was this translation helpful? Give feedback.
All reactions