nichyjt / pe

0 stars 0 forks source link

`Graph` produces weird output for coefficients of 0 #5

Open nichyjt opened 1 year ago

nichyjt commented 1 year ago

Description

When the coefficient of a graph is zero and no vertical shift is provided, the output graph is distorted.

Reproduction

Graph 0*sin(x)

image.png

Gives:

image.png

Expected Behaviour

I would expect a graph with the y-axis visible and the text to be above the blue plot line. Alternatively, for the program to reject my input.

nus-pe-bot commented 1 year ago

Your response not required for this bug as the team has accepted the bug as it is.