简体   繁体   中英

Plotly x-axis formating

Is there a way to the show annual dates on the xaxis of a python plotly plot. Right now it seems that there are too many ticks which form this dark bar at the bottom. Thanks in advance. Plot

It seems like your dates are not in the right format. Try formatting them to a datetime object. For example using the pandas function pandas.to_datetime . Documentation for pandas.to_datetime.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM