Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

standalone scales with Plot.scale #639

Merged
merged 1 commit into from
Dec 31, 2021
Merged

Conversation

mbostock
Copy link
Member

Alternative to #625. This lets you create the standalone scale directly, without requiring either a legend or a chart (but you can pass the scale to either as desired). Fixes #624.

@mbostock mbostock requested a review from Fil December 31, 2021 01:15
Copy link
Contributor

@Fil Fil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent. I don't think it invalidates #625 though (but it makes it less urgent).

@mbostock mbostock merged commit 72b2adb into main Dec 31, 2021
@mbostock mbostock deleted the mbostock/standalone-scale branch December 31, 2021 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

can the standalone Plot.legend returned object have .scale to get the scale Descriptor?
2 participants