Module marksman.plot
This module implements plotting of graphs for the purpose of data visualization
Functions
def analyse_exam(cursor: sqlite3.Cursor, exam_id: int) ‑> dict-
Gives all stats about the exam
Args
cursor:Cursor- sqlite3 Cursor object
exam_id:int- the unique id of the exam
Returns
dict- all the stats
def plot_batch_performance(cursor: sqlite3.Cursor, exam: int) ‑> NoneType-
Plot the performance of all students in a particular exam
Args
cursor:Cursor- sqlite3 Cursor object
exam:int- uid of the exam concerned
def plot_student_performance(cursor: sqlite3.Cursor, roll: int, exam: int, analysis: dict, path='') ‑> NoneType-
Plots students performance against the batch
Args
cursor:Cursor- sqlite3 Cursor object
roll:int- roll no of student
exam_id:int- unique id of exam