cetz-plot icon indicating copy to clipboard operation
cetz-plot copied to clipboard

Create Plots and Charts with CeTZ

Results 57 cetz-plot issues
Sort by recently updated
recently updated
newest added

APIs like `chart.barchart` should support passing down `plot.add-*` commands.

When you try to create a pie chart where all the labels except one have a value of 0, the chart bugs out (as shown in the image). Below is...

:imp: bug

This was an issue I ran into when writing my thesis. A lin-lin plot of small values ~E-5 fails to produce ticks unless explicitly set. I haven't delved into the...

:imp: bug

Currently, `add-legend` only supports a custom preview function. It would be nice to be able to use the available marks more easily. I got around it by adding this manually,...

:gift: feature

Expected behaviour: Marks are drawn only for those points which are shown. Observed: Marks are drawn even for those points which are outside of the axis min-max. MRE: ```typ #import...

:imp: bug

MRE: ``` #import "@preview/cetz:0.3.1" #import "@preview/cetz-plot:0.1.0" #cetz.canvas({ cetz-plot.plot.plot( size: (10, 6), y-min: 0, y-max: 0.8, x-tick-step: 1, plot-style: (n)=>{ (green, yellow, red) .map(i=>(stroke: i.darken(20%), fill: i.lighten(75%))) .at(calc.abs(2-n)) }, { cetz-plot.plot.add(x=>calc.exp(-calc.pow(x,2)),...

:imp: bug

Sometimes, it would be nice to be able to more accurately control the size of the legend (e.g. to match its size to the one of the axis). This would...

When plotting in `log` mode, there is no way for the y-axis to go below 1e-6. Note that also the `y-tick-step` is necessary, as otherwise the compilation crashes due to...

:imp: bug

Citing from [the manual](https://raw.githubusercontent.com/cetz-package/cetz-plot/refs/tags/v0.1.0/manual.pdf) for the `piechart` function: > The chart places one anchor per item at the radius of it’s slice that gets named "item-" (outer radius) and "item--inner"...

:imp: bug

### Discussed in https://github.com/cetz-package/cetz-plot/discussions/97 Originally posted by **John-Toohey** January 4, 2025 These whiskers on this barchart are too tall and thus overlap! How should I slim them down? ![image](https://github.com/user-attachments/assets/cb22fe3a-f0ff-4b56-9787-c80ad9d183f9) ```typst...

:imp: bug