from flask import Flask, render_template app = Flask("Project Numeri") #from plots import Cijferlijst #cf = Cijferlijst() import matplotlib.pyplot as plt from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas from matplotlib.figure import Figure from plots import plot @app.route('/') def index(): return render_template('index.html', title="joe", imgdata=None) def RunWeb(): app.run(debug=True, port=5002)