Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
KPhans committed Aug 31, 2021
1 parent cfcc5b3 commit 9276e69
Showing 1 changed file with 6 additions and 26 deletions.
32 changes: 6 additions & 26 deletions apps/dash-vehicle-geometry/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,21 +187,13 @@ def cache_mesh(filepath, di, fieldname=None, point_arrays=[], cell_arrays=[]):
[
html.A(
dbc.Button(
"Enterprise Demo",
color="primary",
size="md",
className="mr-1",
"Enterprise Demo", color="primary", size="md", className="mr-1",
),
href="https://plotly.com/get-demo/",
target="_blank",
),
html.A(
dbc.Button(
"Source Code",
size="md",
className="mr-1",
color="secondary",
),
dbc.Button("Source Code", size="md", className="mr-1", color="secondary",),
href="https://github.com/plotly/dash-sample-apps/tree/main/apps/dash-vehicle-geometry",
target="_blank",
),
Expand All @@ -216,11 +208,7 @@ def cache_mesh(filepath, di, fieldname=None, point_arrays=[], cell_arrays=[]):
target="_blank",
),
],
style={
"float": "right",
"height": "60px",
"padding-bottom": "0px",
},
style={"float": "right", "height": "60px", "padding-bottom": "0px",},
)

# -----------------------------------------------------------------------------
Expand Down Expand Up @@ -262,10 +250,7 @@ def cache_mesh(filepath, di, fieldname=None, point_arrays=[], cell_arrays=[]):
),
],
id="vtk-view-container",
style={
"height": "calc(100vh - 230px)",
"width": "100%",
},
style={"height": "calc(100vh - 230px)", "width": "100%",},
),
],
),
Expand Down Expand Up @@ -374,13 +359,8 @@ def update_scene(geometry, isosurfaces, surfcolor):


@app.callback(
[
Output("tooltip", "children"),
Output("pointer", "state"),
],
[
Input("vtk-view", "clickInfo"),
],
[Output("tooltip", "children"), Output("pointer", "state"),],
[Input("vtk-view", "clickInfo"),],
)
def probe_data(info):
cone_state = {"resolution": 12}
Expand Down

0 comments on commit 9276e69

Please sign in to comment.