plotlyServerURL does not seem to edit config
オープン
まだ誰も着手していません。
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Amgen ran into an issue where enabling the edit chart button in the menubar for a chart redirected to plot.ly instead of chart-studio.plotly.com. They were able to fix this by adding Sys.setenv("plotly_domain"="https://chart-studio.plotly.com").
Reproducible example:
library(plotly)
Sys.setenv("plotly_domain"="https://chart-studio.plotly.com")
g <- ggplot(faithful, aes(x = eruptions, y = waiting)) +
stat_density_2d(aes(fill = ..level..), geom = "polygon") +
xlim(1, 6) + ylim(40, 100)
fig <- ggplotly(g)
fig %>%
config(showEditInChartStudio=T)
# config(plotlyServerURL = 'https://chart-studio.plotly.com', showEditInChartStudio=T, showSendToCloud=T)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Issue にある再現可能な R の例から始め、config(plotlyServerURL=...) と回避策の Sys.setenv("plotly_domain", ...) を比較します。showEditInChartStudio がどのように宛先を選択するかを追跡し、環境変数なしで設定された chart-studio.plotly.com の URL が使用されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- r
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100