plotting.pages.upload package¶
Submodules¶
plotting.pages.upload.upload module¶
plotting.pages.upload.upload_callbacks module¶
- plotting.pages.upload.upload_callbacks.set_button_status(data)¶
Set buttons to disabled or not
- Parameters
data (dict) – data from stored dcc.Store component
- Returns
disabled – Determine if the buttons should be disabled or not
- Return type
bool
- plotting.pages.upload.upload_callbacks.update_upload(contents, filename)¶
Handle uploading data
- Parameters
contents (str) – base64 string that contains contents of uploaded file
filename (str) – Name of file being uploaded
- Returns
text (list or str) – list of components or str of output text
data (dict) – Dictionary that contains data from uploaded file