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

Add comb plot element #84

Conversation

jamesrswift
Copy link
Collaborator

@jamesrswift jamesrswift commented Nov 1, 2024

Blocked by #81 (and #83 to some extent)

image

The test ref has a budding test set, but it would be nice to have more. Takes an array (or dictionary), that must contain (x,y) coordinates and optionally a custom stroke, mark, (and when annotations are fixed, label that is displayed above). The keys can be set for each of these parameters allowing for a diverse range of input data shapes.

Plot legend has been kept as the default to maintain compatibility with other plot legend types (for when series are implemented)

To do:

  • Change parameter names from my use case (mz and intensity) to generic x and y
  • Documentation
  • Examples

@jamesrswift jamesrswift mentioned this pull request Nov 1, 2024
@johannes-wolf johannes-wolf merged commit d9bf4f2 into cetz-package:refactor-plot-part-one Nov 7, 2024
1 check passed
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.

2 participants