Graphs
Xithrius opened this issue · 2 comments
Xithrius commented
This is where things are actually complex.
First:
- get a general plotting function working.
What to plot? (all assumed to be only used by trusted users)
- Images
- Bars of different colors
- User inputs
- Points
- CSV files
Xithrius commented
Use numpy.random.normal for distribution of plot points in math expression graphing. sympy.simpify for evaluation, one of the solutions here for sanitation, and a memory limit.
Bot and graph creation should be separated. Discord.py for bot and FastAPI for graphing.
Xithrius commented
Line smoothing via this stackoverflow post and this scipy method.