Sunburst Plot Labels Disappear after expanding then shrinking
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript, r
- Lĩnh vực
- data-visualization
Hướng nghiên cứu
Chạy reprex R được cung cấp với plotly 4.10.0 và tái hiện nhãn Escherichia coli bị thiếu sau khi mở rộng và thu nhỏ sunburst. So sánh hành vi này với issue 5547 liên quan của plotly.js; được xem là hoàn tất khi các nhãn vẫn hiển thị sau thao tác trong RStudio Viewer và Safari.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When a sunburst plot is expanded and then un-expanded some labels disappear. Reprex is attached below.
Labels Disappearing (RStudio Viewer)
The Escherichia coli label disappears. Also reproduced this error in safari (but only when Escherichia was expanded then de-expanded)
library(plotly)
#> Loading required package: ggplot2
#>
#> Attaching package: 'plotly'
#> The following object is masked from 'package:ggplot2':
#>
#> last_plot
#> The following object is masked from 'package:stats':
#>
#> filter
#> The following object is masked from 'package:graphics':
#>
#> layout
fig <- plot_ly(
labels = c("Escherichia", "Escherichia coli", "Salmonella", "Salmonella enterica"),
parents = c("Blasted Sequences", "Escherichia", "Blasted Sequences", "Salmonella"),
values = c(0, 50, 0, 20),
type = "sunburst"
)
sessionInfo()
#> R version 4.2.0 (2022-04-22)
#> Platform: x86_64-apple-darwin17.0 (64-bit)
#> Running under: macOS Big Sur/Monterey 10.16
#>
#> Matrix products: default
#> BLAS: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRblas.0.dylib
#> LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib
#>
#> locale:
#> [1] en_AU.UTF-8/en_AU.UTF-8/en_AU.UTF-8/C/en_AU.UTF-8/en_AU.UTF-8
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> other attached packages:
#> [1] plotly_4.10.0 ggplot2_3.3.6
#>
#> loaded via a namespace (and not attached):
#> [1] pillar_1.7.0 compiler_4.2.0 highr_0.9 R.methodsS3_1.8.2
#> [5] R.utils_2.11.0 tools_4.2.0 digest_0.6.29 viridisLite_0.4.0
#> [9] jsonlite_1.8.0 evaluate_0.15 lifecycle_1.0.1 tibble_3.1.7
#> [13] gtable_0.3.0 R.cache_0.15.0 pkgconfig_2.0.3 rlang_1.0.4
#> [17] reprex_2.0.1 DBI_1.1.3 cli_3.3.0 rstudioapi_0.13
#> [21] crosstalk_1.2.0 yaml_2.3.5 xfun_0.31 fastmap_1.1.0
#> [25] httr_1.4.3 dplyr_1.0.9 withr_2.5.0 styler_1.7.0
#> [29] stringr_1.4.0 knitr_1.39 htmlwidgets_1.5.4 generics_0.1.3
#> [33] fs_1.5.2 vctrs_0.4.1 tidyselect_1.1.2 grid_4.2.0
#> [37] data.table_1.14.2 glue_1.6.2 R6_2.5.1 fansi_1.0.3
#> [41] rmarkdown_2.14 tidyr_1.2.0 purrr_0.3.4 magrittr_2.0.3
#> [45] scales_1.2.0 ellipsis_0.3.2 htmltools_0.5.2 assertthat_0.2.1
#> [49] colorspace_2.0-3 utf8_1.2.2 stringi_1.7.6 lazyeval_0.2.2
#> [53] munsell_0.5.0 crayon_1.5.1 R.oo_1.25.0
Created on 2022-07-16 by the reprex package (v2.0.1)
Similar issue described here: https://github.com/plotly/plotly.js/issues/5547
- Ngôn ngữ chính
- R
- Star
- 2.7k
- Fork
- 641
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của plotly/plotly.R
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
-
Data gets dropped in add_trace and consequently points have the wrong color if NA is present Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
-
save_image Error Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
Tất cả issue của plotly/plotly.R
Issue tương tự
-
bug triage_needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
pharmaverse/rtables#1123 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Incorrect coaches in games.csv Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
-
Trying to reassign a reactiveVal to the name of an existing reactiveVal doesn't overwrite the latter Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100