Ohlc candlestick with volume subplot / overay

Hi there gurus,
I’m a plotly noob and managed to get my ohlc trade data plotted with FigureFactory.create_candlestick. Pretty cool.

Now I’m trying to add a barchart with the volume either as a subplot or overlaid. Try as I might I can’t seem to find anything on google. There are plenty of examples of subplots but nothing to combine a FigureFactory chart with something like go.Bar.

Any advice or pointers in the right direction will be much appreciated.

Kind regards,

I think I found a way, let me know if there’s a better one.
I took the following route;
first I used FigureFactory.create_candlestick to create my base, and I extended it with a barplot of the volume data. Then I used tools.make_subplot to create a plot grid and basically just copied the data items from the base in to the plot grid like so;
fig.append_trace(candle_base['data'][0], 1, 1) fig.append_trace(candle_base['data'][1], 1, 1) fig.append_trace(candle_base['data'][2], 2, 1)

This was the only way I could get my tick labels to display correctly.