splom does not work with numeric color
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- r
調査の方向性
Start by running the reproduction in the issue: a splom from iris via plot_ly(type = "splom", dimensions = ...), first with color = ~Species, which works, then with a numeric color such as color = 1:150, which misaligns the dimensions. The payload does not name the R or JavaScript files that handle splom colouring, so locate them from the plot_ly call path. Done means the numeric-colour splom renders with aligned dimensions, and the factor-colour output is unchanged.
索引モデルが issue の本文から書いたものです。
説明
You can create a scatter matrix in R plotly:
library(plotly)
plot_ly(
iris,
type = "splom",
dimensions = lapply(names(iris), function(col) {
list(
label = col,
values = iris[[col]]
)
}),
color = ~Species
)
However the plot does not work if a numeric color is provided:
plot_ly(
iris,
type = "splom",
dimensions = lapply(names(iris), function(col) {
list(
label = col,
values = iris[[col]]
)
}),
color = 1:150 # or iris$Sepal.Width or ~Sepal.Width
)
The dimensions are misaligned.
> sessionInfo()
R version 4.5.0 (2025-04-11 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 26200)
Matrix products: default
LAPACK version 3.12.1
locale:
[1] LC_COLLATE=German_Germany.utf8 LC_CTYPE=German_Germany.utf8 LC_MONETARY=German_Germany.utf8 LC_NUMERIC=C LC_TIME=German_Germany.utf8
time zone: Europe/Berlin
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] plotly_4.12.1 ggplot2_3.5.2
loaded via a namespace (and not attached):
[1] vctrs_0.6.5 httr_1.4.8 cli_3.6.5 rlang_1.1.6 purrr_1.0.4 generics_0.1.4 jsonlite_2.0.0 data.table_1.18.0
[9] glue_1.8.0 htmltools_0.5.9 scales_1.4.0 grid_4.5.0 crosstalk_1.2.2 tibble_3.2.1 fastmap_1.2.0 yaml_2.3.12
[17] lifecycle_1.0.5 compiler_4.5.0 dplyr_1.1.4 RColorBrewer_1.1-3 htmlwidgets_1.6.4 pkgconfig_2.0.3 tidyr_1.3.1 rstudioapi_0.17.1
[25] farver_2.1.2 digest_0.6.39 viridisLite_0.4.3 R6_2.6.1 tidyselect_1.2.1 pillar_1.11.1 magrittr_2.0.4 tools_4.5.0
[33] withr_3.0.2 gtable_0.3.6
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
plotly/plotly.R のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
-
save_image Errorオープン
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
plotly/plotly.R の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
HenrikBengtsson/R.matlab#61 ·
-
multi_class that used on tutorial has been deprecated on sklearn 1.5 version対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 72/100
microsoft/ML-For-Beginners#1059 · コメント 1 件 ·
-
easy first-contributor first-contributors good first issue help wanted r up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
fork-commit-merge/fork-commit-merge#8524 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
waldronlab/bedbaser#27 ·
-
documentation good first issue priority: low
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
Pascal-Kueng/dyadMLM#157 ·
メンテナーはふだん 1 日以内に返信