hcc-python
hcc-python copied to clipboard
can not run this in python3 (or python 2.7.17 either)
Should it be possible to run this code in modern python3 versions? I am running w/ python 3.6.9 and I get the error:
from bokeh.plotting import figure, output_notebook, show, output_file from bokeh.palettes import Blues, BuGn, viridis, Paired, plasma, PuBuGn <Tool,CategoricalAxis, LabelSet, Label, ColumnDataSource, widgets,CategoricalColorMapper,LinearInterpolator, LinearColorMapper, LogColorMapper Traceback (most recent call last): File "
", line 1, in ImportError: cannot import name 'Color'
from bokeh.colors import Color
works, but then
ModuleNotFoundError Traceback (most recent call last)
ModuleNotFoundError: No module named 'bokeh.charts'
Looks like bohek.charts is moved to bkcharts?
I would be willing to try to port this to Python3, should it be possible? Ton of work?