Pyramid Bar Chart

In [14]:
%matplotlib inline
from verticapy.datasets import load_titanic

titanic = load_titanic()
titanic.bar(["survived", "age"],
            color = ["#0073E7", "#263133", "#FE5016"],
            hist_type = "pyramid")
Out[14]:
<AxesSubplot:xlabel='Density', ylabel='"age"'>