Skip to content

absolute functions do not render #150

@JasonLovesDoggo

Description

@JasonLovesDoggo

What happened?

If you have a chart that contains an absolute function (e.g. $f(x) = |x|$ or $f(x) = abs(x)$ Then the chart colors are just black and that function does not render.

min example


```functionplot
---
title: Graph 1 
xLabel: 
yLabel: 
bounds: [-10,10,-10,10]
disableZoom: false
grid: true
---
f(x) = x^2
g(x) = abs(x)
` ``

(space in backticks is for github rendering

If you remove g(x) = abs(x) it works perfectly.

Please confirm

  • I have checked that I am using the latest version of the plugin released.
  • I have searched for similar issues, but found none.

Any ideas?

This was fixed in 1.22.5 of function plot. Pls upgrade

mauriciopoppe/function-plot#162

Additional info

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions