Showing results for 
Search instead for 
Did you mean: 
Community Team Member
Community Team Member
Plot.Hist( ) is a very useful function for creating histograms in Python. However, this is ultimately a bar chart that can be graphed by Sisense for Cloud Data Teams as well, and would better match other charts on the dashboard. The data generated by Plot.Hist( ) can be broken out into the underlying data to be graphed like this:
(n2, bins2, patches) = plt.hist(datatable, 50)
bins2=bins2[:-1] #to remove the extra bin label
df = pd.DataFrame({'n2':n2, 'bins2':bins2})
For more information on plot.hist() itself, you can find the documentation page here:
Version history
Last update:
‎03-02-2023 09:00 AM
Updated by:
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: