diff --git a/lolliplotServer.py b/lolliplotServer.py index 7f498ef..dc45c41 100644 --- a/lolliplotServer.py +++ b/lolliplotServer.py @@ -71,7 +71,7 @@ source.data = new_data ### Main figure - p1 = figure(tools=[hover,'save','xpan','wheel_zoom','reset'], title=title, + p1 = figure(tools=[hover,'save','wheel_zoom','reset'], title=title, width=1500, height=25*max(ncl_ref,ncl), x_range=(0,xmax), y_range=(max(ncl_ref,ncl)/2+1,0), x_axis_location="above") p1.ygrid.visible=False diff --git a/lolliplotServerDetail.py b/lolliplotServerDetail.py index 94fb045..37fa147 100644 --- a/lolliplotServerDetail.py +++ b/lolliplotServerDetail.py @@ -46,7 +46,7 @@ ### Main figure ymax = 10 - p = figure(tools=[hover,'save','pan','wheel_zoom','undo','redo','reset'], width=1500, height=25*max(nhits,ymax), + p = figure(tools=[hover,'save','ypan','wheel_zoom','undo','redo','reset'], width=1500, height=25*max(nhits,ymax), x_range=(0,xmax), y_range=(max(nhits,ymax)/2+1,0), x_axis_location="above") p.ygrid.visible=False p.yaxis.visible=False