Hi Victor,
Thank you for sending the screenshot. I am always keen on seeing how my tool is being used.
I will be working on a fix for the sync issue soon hopefully. Just to reiterate on it, the reason it is going wrong is that the ticks on the x-axis are picked somewhat at random and behind the scenes they correspond to an actual date. So 2001 might correspond to 31 of March 2001, 2002 to 31 of July of that year, 2003 to 13 of December, etc. So the gap between the ticks is equal in the number of days but it could be that one year is not visable, as seen in your screenshot for 2005. Hope I didn't make it more confusing for you...
Your question about the bar_stripes, I wouldn't touch this for now. What I meant is that if you are familiar with python you can update this code in the background, but I would refrain from doing this.
You are correct about the total. Just create a new object using Total.total and pass in the canvas and your data frame. Something like this:
from sjvisualizer import Total, Canvas
canvas = Canvas.canvas()
t = Total.total(canvas=canvas, df=df)
canvas.add_sub_plot(t)
You can also set the x_pos and y_pos, and the height as for any sub_plot.
Hope this helps you.
Kind regards,
Sjoerd