Historgram improper display

When plotting a histogram on a Dash app, on GoogleColab it appears as histogram but when done using Jupyter Notebook it comes up as horizontal barchart. Please help.