I want to make a histogram plot, after importing the library called graphing it gives me an error even when it has been installed.
import graphing
graphing.histogram(dataset, label_x='Pclass', label_y='Survived', histfunc='avg', include_boxplot=True)
And here's the error message.
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_15336\3609384830.py in <module>
1 import graphing
2
----> 3 graphing.histogram(dataset, label_x='Pclass', label_y='Survived', histfunc='avg', include_boxplot=True)
AttributeError: module 'graphing' has no attribute 'histogram'
Do you have some advice on how to handle this? Thank you