Mar-24-2019, 03:35 PM
Hi all,
I have a problem with plotting in Bokeh. Please see a screenshot of my dataset(it actually has 10 rows):

These are the dtypes
Country_code object
Bank_name object
Tier_1_ratio float64
dtype: object
This is how I am trying to plot it
I have a problem with plotting in Bokeh. Please see a screenshot of my dataset(it actually has 10 rows):

These are the dtypes
Country_code object
Bank_name object
Tier_1_ratio float64
dtype: object
This is how I am trying to plot it
from bokeh.models import ColumnDataSource from bokeh.palettes import Spectral6 source = ColumnDataSource(top_ten_start) p = figure(x_range='Bank_name', plot_height=250, y_range=(0, 90), title="BAnks") p.vbar(x='Bank_name', top='Tier_1_ratio', width=0.9, legend="test", source=source) p.xgrid.grid_line_color = None p.legend.orientation = "horizontal" p.legend.location = "top_center" show(p)There is nothing showing up. Can you help me with this, please?