-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvisualization.py
41 lines (33 loc) · 1018 Bytes
/
visualization.py
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
39
40
41
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# @author : Manuel Castro Avila <[email protected]>
# @file : visualization.py
# @created : 24-Aug-2020
# @company : Home
#
"""
"""
import plotly.graph_objects as go
import plotly.express as px
import dash
# import dash_core_components as dcc
# import dash_html_components as html
from plotly.subplots import make_subplots
from dash.dependencies import Input, Output, State
import random
import sys
# from dash import dcc
# from dash import html
# import dash_bootstrap_components as dbc
# from data_vis.main_dash import *
# from data_vis.pricing import *
from data_vis.graph_vis import tab_graph
from data_vis.main_dash import app
# Columns
# ['production_time', 'profit', 'item_name', 'price_sell', 'profit_per_hour',
# 'prod_cost', 'place']
colors = {'background': '#111111', 'text': '#7FDBFF'}
app.layout = tab_graph
app.run_server(
debug=True, use_reloader=True
) # Turn off reloader if inside Jupyter