Add BytesIO support
まだ誰も着手していません。
評価
調査の方向性
まず、issue で指定されているエントリーポイントである calc_fig() の実装と docstring を読み、現在どのように画像出力が返されるか、または書き込まれるかを追跡してください。変更する前に、想定される BytesIO インターフェースと並列処理の動作を明確にしてください。呼び出し側がファイルを書き込まずにメモリ上の画像データを取得でき、ドキュメントに記載された動作が正確であれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What I'm saying is that I used to do this
img_bytes = pio.to_image(fig, format="svg", width=width, height=height)and now I have to do the following, where
kis an instance ofKaleido:img_bytes = await k.calc_fig( fig, opts={"format": "svg", "width": width, "height": height}, )I'm not trying to write the images to a file.
I'm not sure whether the docstring for
calc_fig(), claiming "this function does not support parallelism", is accurate.
Originally posted by @s-banach in #231
- 主要言語
- Python
- スター
- 504
- フォーク
- 65
- 平均マージ
- 6日 9時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
plotly/kaleido のほかの issue
-
Writing to an existing directory whose name has a dot fails with "Invalid format"対応中かも @RaphaelFakhri が 13 日前に担当しました。 オープンbug P3 size: 1
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
Deterministic Rendering Challenges再び着手できるかも @camdecoster が 68 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement feature P2 size: 5
-
[FEATURE]: Embed custom fonts into vector exports (no system install)対応中かも @camdecoster が 125 日前に担当しました。 オープンenhancement P3 size: 3
-
enhancement feature P3 size: 5
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
-
GlobalKaleidoServer is not thread-safe対応中かも @talleibman が 250 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
似ている issue
-
Server mode OAuth2: 'NoneType' object is not subscriptable on every request after re-submitting the OAuth2 login while already logged in対応中かも @Rarasinhoo が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
pgadmin-org/pgadmin4#10733 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws-samples/sample-per-model-bedrock#752 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
int-brain-lab/mpci#32 ·
-
area:docs priority:p2 type:docs
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
jejjohnson/geostack#120 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
sublimelsp/LSP-vue#203 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信