more readable format for values

Former-commit-id: e3f4b6bdbc71b9a752ee921adc9171e0a4b652b7
This commit is contained in:
Michael T. Kelbaugh
2020-03-19 15:14:14 -04:00
parent aecc01a36d
commit d5b17b7d2c
2 changed files with 2 additions and 2 deletions

View File

@@ -241,7 +241,7 @@
" plot_height=plot_height,\n",
" x_axis_location=None,\n",
" y_axis_location=None,\n",
" tooltips=[(\"Name\", \"@name\"), (\"Value\", \"@value\"), coords_tuple],\n",
" tooltips=[(\"Name\", \"@name\"), (\"Value\", \"@value{(0.000 a)}\"), coords_tuple],\n",
" )\n",
" fig.grid.grid_line_color = None\n",
" fig.hover.point_policy = \"follow_mouse\"\n",

View File

@@ -153,7 +153,7 @@ def plot_mongo_doc(
plot_height=plot_height,
x_axis_location=None,
y_axis_location=None,
tooltips=[("Name", "@name"), ("Value", "@value"), coords_tuple],
tooltips=[("Name", "@name"), ("Value", "@value{(0.000 a)}"), coords_tuple],
)
fig.grid.grid_line_color = None
fig.hover.point_policy = "follow_mouse"