obsidian-functionplot
obsidian-functionplot copied to clipboard
absolute functions do not render
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
- [x] I have checked that I am using the latest version of the plugin released.
- [x] I have searched for similar issues, but found none.
Any ideas?
This was fixed in 1.22.5 of function plot. Pls upgrade
https://github.com/mauriciopoppe/function-plot/issues/162
Additional info
No response