forked from mthalves/dash_cm_plot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplotinfoselect.py
More file actions
executable file
·38 lines (32 loc) · 998 Bytes
/
plotinfoselect.py
File metadata and controls
executable file
·38 lines (32 loc) · 998 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- coding: utf-8 -*-
import base64
import datetime
import io
import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output, State
import pandas as pd
from utils import *
from ackandcreators import *
from mylayouts import *
from myinput import *
from radioitems import *
from upload import *
from droplist import *
from button import *
from image import *
texts = {
'section': '3. Enter your plot information',
'subseca': 'a) Plot Title',
'subsecb': 'b) X Label',
'subsecc': 'c) Y Label',
}
def Select_Plot_Information():
column1 = [SubsectionCenterHTML(texts['subseca']),InputTextHTML('title-input','Title here...')]
column2 = [SubsectionCenterHTML(texts['subsecb']),InputTextHTML('xlabel-input','X label here...')]
column3 = [SubsectionCenterHTML(texts['subsecc']),InputTextHTML('ylabel-input','Y label here...')]
return html.Div([
SectionHTML(texts['section']),
ThreeColumnsHTML([column1,column2,column3]),
])