We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Draw an L-shaped path from (1., 2.e5) through (1., 1.) to (2., 1.).
graph <- data.frame( x = c(1., 1., 2.), y = c(2.e5, 1., 1.) ) |> ggplot2::ggplot(ggplot2::aes(.data$x, .data$y)) + ggplot2::geom_path() + ggplot2::coord_cartesian(c(0., 3.), c(0., 3.))
As expected, ggplot2 produces the following. However, the girafe of the ggplot is missing the bottom part of the path.
ggiraph::girafe(ggobj = graph) |> htmlwidgets::saveWidget("ggiraph-bug.html", selfcontained = FALSE)
> sessionInfo() R version 4.3.3 (2024-02-29) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 24.04.2 LTS Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.12.0 LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.12.0 locale: [1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8 [5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 [7] LC_PAPER=en_GB.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C time zone: Europe/London tzcode source: system (glibc) attached base packages: [1] stats graphics grDevices datasets utils methods base loaded via a namespace (and not attached): [1] vctrs_0.6.5 cli_3.6.4 rlang_1.1.5 purrr_1.0.4 [5] renv_1.1.1 jsonlite_1.9.0 glue_1.8.0 labeling_0.4.3 [9] colorspace_2.1-1 ggiraph_0.8.12 htmltools_0.5.8.1 scales_1.3.0 [13] grid_4.3.3 munsell_0.5.1 tibble_3.2.1 fastmap_1.2.0 [17] yaml_2.3.10 lifecycle_1.0.4 compiler_4.3.3 htmlwidgets_1.6.4 [21] Rcpp_1.0.14 pkgconfig_2.0.3 systemfonts_1.2.1 farver_2.1.2 [25] digest_0.6.37 R6_2.6.1 pillar_1.10.1 magrittr_2.0.3 [29] uuid_1.2-1 tools_4.3.3 withr_3.0.2 gtable_0.3.6 [33] ggplot2_3.5.1
The text was updated successfully, but these errors were encountered:
@davidgohel, thank you for ggiraph. When do you expect to correct this?
Sorry, something went wrong.
I can't reproduce your issue
No branches or pull requests
Draw an L-shaped path from (1., 2.e5) through (1., 1.) to (2., 1.).
As expected, ggplot2 produces the following.

However, the girafe of the ggplot is missing the bottom part of the path.
The text was updated successfully, but these errors were encountered: