Skip to content

Commit

Permalink
Removed precedence from parameter definitions in dashboard (#707)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens authored and jbednar committed Feb 19, 2019
1 parent 4e9f5e0 commit 26894b9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions examples/dashboard.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,18 @@
"gopts = hv.opts.WMTS(width=800, height=650, xaxis=None, yaxis=None, bgcolor='black', show_grid=False)\n",
"\n",
"class Explorer(pm.Parameterized):\n",
" plot = pm.ObjectSelector( precedence=0.10, default=source.plots[0], objects=plots)\n",
" field = pm.ObjectSelector( precedence=0.11, default=field, objects=fields)\n",
" agg_fn = pm.ObjectSelector( precedence=0.12, default=ds.count, objects=aggfns)\n",
" plot = pm.ObjectSelector( default=source.plots[0], objects=plots)\n",
" field = pm.ObjectSelector( default=field, objects=fields)\n",
" agg_fn = pm.ObjectSelector( default=ds.count, objects=aggfns)\n",
" \n",
" normalization = pm.ObjectSelector( precedence=0.13, default='eq_hist', objects=norms)\n",
" cmap = pm.ObjectSelector( precedence=0.14, default=cmaps['fire'], objects=cmaps)\n",
" spreading = pm.Integer( precedence=0.16, default=0, bounds=(0, 5))\n",
" normalization = pm.ObjectSelector( default='eq_hist', objects=norms)\n",
" cmap = pm.ObjectSelector( default=cmaps['fire'], objects=cmaps)\n",
" spreading = pm.Integer(0, bounds=(0, 5))\n",
" \n",
" basemap = pm.ObjectSelector( precedence=0.18, default=bases['EsriImagery'], objects=bases)\n",
" data_opacity = pm.Magnitude( precedence=0.20, default=1.00, doc=\"Alpha value for the data\")\n",
" map_opacity = pm.Magnitude( precedence=0.22, default=0.75, doc=\"Alpha value for the map\")\n",
" show_labels = pm.Boolean( precedence=0.24, default=True)\n",
" basemap = pm.ObjectSelector( default=bases['EsriImagery'], objects=bases)\n",
" data_opacity = pm.Magnitude(1.00)\n",
" map_opacity = pm.Magnitude(0.75)\n",
" show_labels = pm.Boolean(True)\n",
" \n",
" @pm.depends('plot')\n",
" def elem(self):\n",
Expand Down

0 comments on commit 26894b9

Please sign in to comment.