Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Export plot objects as plotly Figures

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
plotly, python

調査の方向性

Start in mozaic/plotting.py around lines 18-40, where the plotting steps culminate in the Plotly Express show() call. Preserve the existing data munging and aesthetic options while exposing the generated plot object for later customization. Done means callers can adjust items such as date ranges, titles, legends, or annotations instead of only rendering immediately.

索引モデルが issue の本文から書いたものです。

説明

This may be a simpler one, but the current plotting code includes multiple steps:

  1. Some helpful data munging
  2. Some aesthetic design options for the plots
  3. A call to plotly express show() the ultimately generated plot here: https://github.com/mozilla/mozaic-forecasting/blob/2becad6a9b372c8f0d732f91ee92f6b8d7b06fed/mozaic/plotting.py#L18C1-L40

By either just removing this fig.show() call, or setting up a different function call that outputs the plot object, it will still automatically render in most typical Jupyter/iPython/Notebook contexts. But it will have the benefit of being customizable after-the-fact, which the current approach is not--at least not without extensive workarounds.

Example: Wanting to manually specify the x-axis date range of the plot, or change the title/legends, or add an annotation region.

主要言語
Python
スター
3
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mozilla/mozaic-forecasting のほかの issue

mozilla/mozaic-forecasting の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。