Skip to content

Commit

Permalink
Import bokeh.palletes correctly, fixes cta-observatory#911
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnoe committed Jan 3, 2019
1 parent 25b35cf commit d337689
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ctapipe/visualization/bokeh.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,14 @@
import numpy as np
from bokeh.plotting import figure
from bokeh.events import Tap
from bokeh.models import (ColumnDataSource, TapTool, palettes, Span, ColorBar,
LinearColorMapper)
from bokeh import palettes
from bokeh.models import (
ColumnDataSource,
TapTool,
Span,
ColorBar,
LinearColorMapper,
)
from ctapipe.utils.rgbtohex import intensity_to_hex

PLOTARGS = dict(tools="", toolbar_location=None, outline_line_color='#595959')
Expand Down

0 comments on commit d337689

Please sign in to comment.