Philippe Rivière

Results 380 issues of Philippe Rivière

In this Plot: ![facetAnchor](https://github.com/observablehq/plot/assets/7001/a40a92dd-6db1-41ff-8d7a-25df6ce5859c) ```js Plot.plot({ marginLeft: 60, marks: [ Plot.frame({ fill: "silver" }), Plot.barX(data, { x: "Cantidad", fx: "type", fy: "p28" }) ] }) ``` we would like the...

This example, given by @mootari, where the right-most tip should have been chosen to anchor right: ![Capture d’écran 2024-03-06 à 16 38 34](https://github.com/observablehq/plot/assets/7001/99ba49b2-d425-4fd6-a1ba-3204c0262b5c) ``` Plot.rectX([1, 1, 1, 1, 1], {...

bug

![flamegraph](https://github.com/observablehq/plot/assets/7001/cd414c3f-7f66-4097-9e42-52e531a03b83) Here's a starting point; I'll make a notebook later. We have to change this from an ad hoc function to a proper transform (facet-aware etc). ```js { const positions...

enhancement

The default fill for boxX is `#ccc`, which is way too light in dark mode (when `--plot-background` is dark and `currentColor` is light). Should we address this by "hardcoding" a...

enhancement
question

for instance, #1997

documentation

In most conditions a continuous axis (temporal or quantitative) should always show at least 2 ticks, so we get an idea of its domain. I believe that this should even...

enhancement

``` ❯ nvm use 20 Now using node v20.3.0 (npm v9.6.7) ... tests OK... ❯ nvm use 21 Now using node v21.6.0 (npm v10.2.4) ❯ yarn && yarn test ......

Using Plot.tree with a gradient stroke fails on links that are purely horizontal: ![Capture d’écran 2024-01-30 à 13 35 38](https://github.com/observablehq/plot/assets/7001/4a86a142-415d-4470-8808-a4402a8c5740) The bug (reported by @pixflowave) is due to the infamous...

enhancement

Possibilities: - a **min** option and a **max** option. - support **domain**: [min, undefined] and **domain**: [undefined, max] - support **domain** as a function of the channels min and max...

enhancement
question

A transform to decimate (sample) data, by filtering the index. Possible strategies: * % sample, not smart but easy to understand * lttb (ref. https://skemman.is/bitstream/1946/15343/3/SS_MSthesis.pdf); adaptive binning. * M4 (as...

enhancement