You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Released September TK, 2023.](https://github.com/observablehq/plot/releases/tag/v0.6.11)
8
8
9
-
The new **format** option controls the order and formatting of the [tip mark](https://observablehq.com/plot/marks/tip)’s channels.
9
+
The new **format** option controls the order and formatting of the [tip mark](https://observablehq.com/plot/marks/tip)’s channels. ([#1823](https://github.com/observablehq/plot/pull/1823))
10
10
11
-
The **format** option is an key-value object mapping channel names to formats; each [format](https://observablehq.com/plot/features/formats) can be a string (to format numbers or dates with the respective number or time format), or a function that receives the value as input and returns a string. Use null or false to suppress the channel. The order of channels in the tip follow their order in the format object. Channels that have not been listed in the format object are appended. (Custom channels can be specified, as usual, with the **channels** option.) The name of the channel can be specified by giving a label to the corresponding scale, or defining it as an object with a **value** and a **label**, or simply by the name given in the **channels** option.
11
+
The **format** option is an key-value object mapping channel names to formats; each [format](https://observablehq.com/plot/features/formats) can be a string (to format numbers or dates with the respective number or time format), or a function that receives the value as input and returns a string. Use null or false to suppress the channel. The order of channels in the tip follow their order in the format object. Channels that have not been listed in the format object are appended. (Custom channels can be specified, as usual, with the **channels** option.) The name of the channel can be specified by giving a label to the corresponding scale, or defining it as an object with a **value** and a **label** ([#1838](https://github.com/observablehq/plot/pull/1838)), or simply by the name given in the **channels** option.
12
12
13
13
The **tip** mark option can now be an object of options to pass to the derived tip mark. These options include a new **pointer** option to control which pointer mode is used (_x_, _y_, or _xy_, for pointerX, pointerY, or pointer respectively).
14
14
@@ -29,29 +29,38 @@ Plot.dot(cars, {
29
29
_In the chart above, the start custom channel is formatted as a duration in seconds, followed by the y channel formatted as a floating-point number with two decimal places. The x channel is suppressed._
30
30
31
31
32
+
Ordinal axes generated from a temporal or quantitative scale do now generalize their scale’s interval (if specified), resulting in more readable ticks. For instance, a bar chart representing, says, one value per month over the course of 5 years might be represented with 5 ticks indicating the beginning of each year, or by 10 ticks indicating January and July, depending on the desired number of ticks. The generalization returns non-ambiguous intervals: for example, days can be generalized to weeks or months, but weeks can only be generalized into multiple weeks — not months or years since those are not multiples of 7 days. ([#1790](https://github.com/observablehq/plot/pull/1790))
32
33
33
-
- better ordinal axes with intervals ([#1790](https://github.com/observablehq/plot/pull/1790))
The **fontVariant** option is now passed to the axis label as well as to the axis tick labels ([#1827](https://github.com/observablehq/plot/pull/1827))
42
+
43
+
The **interval** option for *x* now also reduces *x1* and *x2* if present (and likewise for *y*) ([#1828](https://github.com/observablehq/plot/pull/1828))
44
+
45
+
A transform can now request exclusive facets, opening the door to richer operations on facets ([#1649](https://github.com/observablehq/plot/pull/1649))
46
+
47
+
The domain exposed with an ordinal scale is now deduplicated, for consistency ([#1813](https://github.com/observablehq/plot/pull/1813))
48
+
49
+
The render API now exposes the instantiated scales descriptors in its scales argument, opening the door to richer developments ([#1810](https://github.com/observablehq/plot/pull/1810))
50
+
51
+
The tip mark now hides the temporary tip before computing its callout, avoiding a flickering in some interactive use cases ([#1826](https://github.com/observablehq/plot/pull/1826))
52
+
53
+
Fix a bug where empty bins might generate undefined colors — they now fall back on the first element of their group ([#1837](https://github.com/observablehq/plot/pull/1837))
54
+
55
+
Fix a bug where the symbol set hint was ignored if fill was specified as a constant currentColor ([#1830](https://github.com/observablehq/plot/pull/1830))
56
+
57
+
Fix a bug where the forward slash delimiter was applied by the tree transform in addition to the custom delimiter. ([#1850](https://github.com/observablehq/plot/pull/1850)
58
+
59
+
Image tests are now more reliable across platforms ([#1807](https://github.com/observablehq/plot/pull/1807))
60
+
61
+
Test coverage reports are now easier to generate (see [Contributing](https://github.com/observablehq/plot/blob/main/CONTRIBUTING.md#testing))
62
+
63
+
The documentation website now has a stylish hexagonal grid of examples ([#1834](https://github.com/observablehq/plot/pull/1834))
0 commit comments