[Python] Hierarchical index with specific ticks on plotly

Discussão em 'Python' iniciado por Stack, Maio 29, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to draw grouped bar plot over time with each group being a Bar trace ( simple / stacked ). I am able to draw the plot for all time points like shown in the figure. But, I wish to show x-ticks ( both date and individual bar names ) only for certain time points.

    I tried setting x-ticks and xvals, but it blanks out the x-axis labels. The x-axis property for each trace is a tuple of length 2 with the first element being an array of time points and the second element and array of corresponding bar name of the same length.

    Continue reading...

Compartilhe esta Página