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
According to Observable Plot docs, interval scale can take numbers:
The option can also be specified as a number, in which case it will be promoted to a numeric interval with the given step.
In the following example, I apply an interval transform and an interval scale (both given by a number) to pre-binned data. Resulting plot has wrong x-axis ticks and labels.
According to Observable Plot docs, interval scale can take numbers:
In the following example, I apply an interval transform and an interval scale (both given by a number) to pre-binned data. Resulting plot has wrong x-axis ticks and labels.
Example
See also Observable Notebook.
Given data (already binned with bin width 0.05 or bin step -20)
With Interval transform, but without Interval scale
This looks good. Now, I want to add an interval scale:
With Interval transform, with Interval scale
This plot has a wrong x-axis:
Increasing the number of ticks produces a correct plot:
With Interval transform, with Interval scale, and with explicit ticks
The text was updated successfully, but these errors were encountered: