Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions demos/pyvista-terrain-following-mesh/app.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import dash
from dash import dcc, html, Input, Output
Comment on lines 1 to +2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nonblocking, but some styleguides/linters complain that this is a duplicate import. This is why most of our examples now explicitly import everything you're going to use - in this case that would add Dash and no_update which then lose the dash. prefix below - so you can drop the plain import dash.

import dash_vtk
import dash_bootstrap_components as dbc
import dash_html_components as html
import dash_core_components as dcc
from dash.dependencies import Input, Output, State
#import dash_html_components as html
#import dash_core_components as dcc
#from dash.dependencies import Input, Output, State

import random
import json
Expand Down