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
Support passing in 'datetime' like inputs into the 'region' or '-R' argument in plot.
The region argument doesn't work with numpy datetime64 objects, have to convert to a string using np.datetime_as_string in order to set the map frame bounds.
The decorator kwargs_to_strings convert the list [w, e, s, n] to a string w/e/s/n. We need to convert datetime64 object to string internally, but it's not ideal to do the conversion in the decorator. I don't have a good solution now.
Description of the desired feature
Support passing in 'datetime' like inputs into the 'region' or '-R' argument in
plot
.Originally posted by @seisman in #464 (comment)
Minimal working example:
The error message is:
This workaround does work, but it's cumbersome:
produces:
Are you willing to help implement and maintain this feature? Yes, but where should this code logic go?
The text was updated successfully, but these errors were encountered: