mirror of
https://github.com/pyscript/pyscript.git
synced 2026-02-24 11:03:39 -05:00
Fixed "Direct usage of document is deprecated." warning (#1052)
This commit is contained in:
@@ -209,7 +209,7 @@ Now that we have a way to explore the data using `py-repl` and a way to create t
|
||||
ice_data = pd.read_csv(open_url(url))
|
||||
|
||||
current_selected = []
|
||||
flavour_elements = document.getElementsByName("flavour")
|
||||
flavour_elements = js.document.getElementsByName("flavour")
|
||||
|
||||
def plot(data):
|
||||
plt.rcParams["figure.figsize"] = (22,20)
|
||||
|
||||
Reference in New Issue
Block a user