Highlight the last bar of a stack bar chart

Hi @chainster_mike,

One thing you could do is to draw a thick colored border around the bars all the way to the right. Something like:

import plotly.graph_objs as go
from plotly.offline import iplot, init_notebook_mode
init_notebook_mode()

trace1 = go.Bar(
    x=['giraffes', 'orangutans', 'monkeys'],
    y=[20, 14, 23],
    name='SF Zoo'
)
trace2 = go.Bar(
    x=['giraffes', 'orangutans', 'monkeys'],
    y=[12, 18, 29],
    name='LA Zoo'
)

data = [trace1, trace2]
layout = go.Layout(
    barmode='stack'
)

# Draw border around last bars
for bar in data:
    bar.marker.line.color = 'red'
    bar.marker.line.width = [0, 0, 4]
    
fig = go.Figure(data=data, layout=layout)
iplot(fig)

Hope that helps!
-Jon