Academic Years Across X Axis

We are using Plotly to show academic year data. Academic years are typically represented 2002-2003 or 2002/2003. I can not find a way to get Plotly to allow me to display the academic year in that format. Now did it seem to work when I tried Year 2002-2003. Is there a way to display a year range this way?

I’d recommend using categories for this task: