Fixed some bugs in boxplot and a little rewrite of the implementation to be compatible with the rest of the charts codebase.
Added some comments.
Make segment works with previous strategy. So we have to get lists with equal lenght in the ColumnDataSource, not a unique value.
Now working with rects too.
Fixed colors and rearrange of data in the final ColumnDataSource.
Rewrote lists generation and fixed the legend.
Added missed chained methods to boxplot.
Updated example.
Move Plot initialization to __init__.
Migrating histogram source and ranges calculation from _charts.py to histogram.py.
Move histogram method into the histogram.py file
Migrated helper functions to ChartObject class.
Remove histogram-related old code from _charts.py.
Migration of bar, scatter and boxplot-related code from _charts.py to each specific chart_type file.
Migrated common attributes to the primary ChartObject class.
Abtracted get_data_ and get_source_methods.
Make Chart instantiation available at the ChartObject class, more abstraction.
Added docstrings to the Chart class.
Added docstring to all the charts available and the ChartObject class.
Removed self source and ranges, delete notebook detection leftover and added chained methods for scales.