We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
t = pd.to_datetime("2021-01-01") (ggplot() + geom_vline(xintercept=t) + scale_x_datetime(format="%d %b\'%y"))
works as expected:
Scale with 'breaks' doesn't work:
(ggplot() + geom_vline(xintercept=ut) + scale_x_datetime(format="%d %b\'%y", breaks=[t]))
(ggplot() + geom_vline(xintercept=ut) + scale_x_datetime(format="{%d %b\'%y}", breaks=[t]))
Wrong number pattern: %d %b'%y
(ggplot() + geom_vline(xintercept=t) + scale_x_datetime(breaks=[t]))
After converting pandas Timestamp to "UNIX time" It doesn't work either:
# UNIX time (delta from UNIX epoch in ms) ut = (pd.to_datetime("2021-01-01") - pd.Timestamp("1970-01-01")) // pd.Timedelta("1ms") (ggplot() + geom_vline(xintercept=ut) + scale_x_datetime(breaks=[ut]))
The text was updated successfully, but these errors were encountered:
Applying date-time formatting to breaks works now: #421 - date-time format support was added to StringFormat.
Sorry, something went wrong.
OLarionova-HORIS
No branches or pull requests
works as expected:
Scale with 'breaks' doesn't work:
After converting pandas Timestamp to "UNIX time" It doesn't work either:
The text was updated successfully, but these errors were encountered: