GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 0c3829...de7c60 )
by Keertana
02:25
created

practicedash_voltcyle   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 29
dl 0
loc 44
rs 10
c 0
b 0
f 0
1
import dash
2
import dash_core_components as dcc
3
import dash_html_components as html
4
import base64
5
6
external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
7
8
app = dash.Dash(__name__, external_stylesheets=external_stylesheets)
9
10
colors = {
11
    'background': '#F8F9F9',
12
    'text': '#000000'
13
}
14
15
image_filename = 'logo.png' # replace with your own image
16
encoded_image = base64.b64encode(open(image_filename, 'rb').read()).decode('ascii')
17
18
app.layout = html.Div(style={'backgroundColor': colors['background']}, children=[
19
    html.H1(
20
        children='Voltcycle',
21
        style={
22
            'textAlign': 'center',
23
            'color': colors['text']
24
        }
25
    ),
26
27
    html.Div([
28
        html.Img(draggable=True, style={
29
                'height': '20%',
30
                'width': '20%'
31
            },  src='data:image/png;base64,{}'.format(encoded_image))
32
   ], style={'textAlign': 'center'}),
33
34
    html.Div(children='A tool for analysis of cyclic voltammetry.', style={
35
        'textAlign': 'center',
36
        'color': colors['text']
37
    })
38
])
39
40
41
42
if __name__ == '__main__':
43
    app.run_server(debug=True)
44