Is it possible to highlight certain bins (color it differently) in a plotly histogram?
For example, can we color second bin red in this histogram?
import numpy as np
import pandas as pd
import plotly.plotly as py
import plotly.graph_objs as go
import plotly.figure_factory as ff
from plotly import tools
from plotly.offline import plot, iplot, init_notebook_mode
init_notebook_mode(connected=False)
df = pd.DataFrame({'x': np.arange(0,20,2)})
data = [go.Histogram(x=df['x'])]
iplot(data, filename='myplot.html')