How to swap axes in this fruits imports/exports example

  • swap the x_range and y_range in the figure definition
  • use vbar_stack instead of hbar_stack
  • replace y with x, and height with width in the vbar_stack
  • make other changes for y_range and ygrid
  • change the legend location (maybe move it outside the figure)
1 Like