An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 7.2% on proxy.golang.org

proxy.golang.org : github.com/vdobler/facet

Package facet is an experimental package to produce faceted plots. It tries to use or enhance gonum.org/v1/plot. The concept of a scale is taken from ggplot2. Package facet knows about the following scales: The Shape and Stroke scales cannot be continouos but must be discrete because only a discrete set of symbol types and line styles are available. The other scales can be discrete or continouos. If a scale is used in a faceted plot a scale Guide is drawn to show how the scales range maps to aesthetics. Guides for different scales are combined iff: There are one dimensional groupings and two-dimensional groupings corresponding to facet_row, facet_column and facet_grid. Grouping is done on discrete values (which may be an intervall). Scales have a wide varity of ranges. Ticks are generated for the Interval (but ticks outside of Range are not drawn). The distinction of Interval/Limits and range for a position scale works like this. Being able to limit the Range is useful to "zoom in" into a plot. Expanding the range beyond the Limit is useful for the Size scale: If your Limits are [20, 40] and you map that directly to point radius from [2px, 20px] a point representing a data value of 20 will be 10 times smaller in radius and 100 times smaller in area than a data point with value 40. Here you might set the range to [0, 40] but still draw breaks/ticks and thus legend entries only for 20, 25, 30, 35 and 40. A Transformation is responsible for two things: Output coordinates differ for different scales: Scale transformations should work like the ones in ggplot2.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/vdobler/facet
License: BSD-3-Clause
Latest release: 22 days ago
Namespace: github.com/vdobler
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 22 days ago