[Feature Request] expose the colorbar as a standalone graph object
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 38/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- python
調査の方向性
まず、Dash のグラフが現在どのようにカラーバーを公開しているかを確認し、その動作をリンク先の Stack Overflow の例および matplotlib ColorbarBase の例と比較します。issue ではリポジトリのファイル、テスト、エントリーポイントのいずれも指定されていません。完了条件は、隣接するグラフを必要とせずに、サポート対象のスタンドアロンな Dash カラーバーオブジェクトを提供することです。
索引モデルが issue の本文から書いたものです。
説明
I tried to post my issue/feature request on the forum but OAuth with Google was not working anymore.
Is your feature request related to a problem? Please describe.
I need to build a custom colorbar for an object that comes from outside of dash but for consistency with the rest of the application, I would like to use a dash based colorbar. My problem is that i don't found any ways to build one without building a graph next to it.
The most promising solution I found on the web is this: https://stackoverflow.com/questions/76963287/plotly-create-standalone-colorbar
but it's just a trick where i would make the real bar disapear.
Describe the solution you'd like
I would like to get access to the colorbar object the same way I have access to it in the matplotlib interface:
import matplotlib.pyplot as plt
import matplotlib as mpl
fig = plt.figure()
ax = fig.add_axes([0.05, 0.80, 0.9, 0.1])
cb = mpl.colorbar.ColorbarBase(ax, orientation='horizontal',
cmap='RdBu')
plt.savefig('just_colorbar', bbox_inches='tight')
- 主要言語
- Python
- スター
- 24.4k
- フォーク
- 2.3k
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 19
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
plotly/dash のほかの issue
-
good first issue P3 size: 1 task
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
enhancement P2 size: 5
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
-
enhancement P3 size: 10+
-
P2 size: 1 task
-
enhancement P3 size: 1
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
canonical/paas-charm#368 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
tech debt
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
StevenBlack/hosts#3256 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
qualcomm/qai-appbuilder#275 ·