Comments (3)
Per ?continuous_scale
:
When the function has two arguments, it will be given the limits and major breaks.
Your ebreak()
function accepts the limits and the desired number of breaks, so it will not work.
from ggplot2.
You're alrigth. the manpages of scale_x_continuous says that accepts a function that given limits will return breaks, both in "breaks" and "minor_breaks", but in minor_breaks it makes that reservation, so closing.
from ggplot2.
(perhaps an affordable error message should be delivered in scales or labeling.
from ggplot2.
Related Issues (20)
- `guide_coloursteps(show.limits = T)` produces strange lower limit HOT 1
- Warnings due to partial matching HOT 2
- Reproducible example for `position_jitter()` not working HOT 1
- geom_sf_label() returns an error HOT 3
- date_breaks and date_breaks minor don't check argument type HOT 2
- `scale_*_*` `labels` argument often doesn't work as expected with a function HOT 8
- geom_histogram produces wrong number of bins in special cases HOT 2
- x/ylim Arguments in coord_fixed Donβt Seem to Be Applied to Contours: HOT 1
- Feature request: allow adding aesthetics together HOT 2
- Adding bootstrap customization for stat_summary(fun.data="mean_cl_boot") HOT 1
- Have header font be part of theme specification HOT 2
- Unexpected error about center/boundary in `geom_histogram()` when `bins = 1`
- ggplotly stopped working with version 3.5.1 HOT 2
- geom_tile -- Option to Split Diagonal Tiles. HOT 2
- Default labs where geom when the aesthetic is in both the ggplot and geom_* call HOT 1
- `stat_bin()` should have the area (instead of height) represent the count. HOT 3
- `ggplot2::ggpar()` has a namespace conflict with `ggpubr::ggpar()`
- Fallback for `facet_wrap(as.table)`
- Length check for `after_scale()` aesthetics HOT 1
- `geom_rug()` does not print a warning when `na.rm = FALSE`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ggplot2.