2021-09-15 20:08:03 +00:00
|
|
|
from flask import Flask, render_template
|
|
|
|
app = Flask("Project Numeri")
|
2022-09-22 15:15:32 +00:00
|
|
|
#from plots import Cijferlijst
|
|
|
|
|
|
|
|
#cf = Cijferlijst()
|
2021-09-20 20:39:36 +00:00
|
|
|
import matplotlib.pyplot as plt
|
2022-09-18 13:11:54 +00:00
|
|
|
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
|
|
|
|
from matplotlib.figure import Figure
|
2022-09-22 15:15:32 +00:00
|
|
|
from plots import plot
|
2021-09-15 20:08:03 +00:00
|
|
|
|
|
|
|
@app.route('/')
|
|
|
|
def index():
|
2021-09-20 20:39:36 +00:00
|
|
|
return render_template('index.html', title="joe", imgdata=None)
|
2021-09-15 20:08:03 +00:00
|
|
|
|
2022-09-18 13:11:54 +00:00
|
|
|
def RunWeb():
|
|
|
|
app.run(debug=True, port=5002)
|