Plotting variables: `getvars` access & more flexible `setvars`
@sadielbartholomew がすでに取り組んでいます。
2025年4月7日 から。
評価
この issue はまだ評価されていません。
説明
Currently we have a function setvars which can be used to set plotting variables. However, there is no direct user-facing way to access/view those stored plotting variables to see what is defined, which is particularly unhelpful when any future call to setvars will reset any values set back to the defaults, and we may want to retain anything set to non-default values (such as in the test suite, where I have a decorator to store the output plot under a certain name to enable image-based comparison but test often call setvars themselves - though it will be useful for many common user-aligned reasons I can foresee as well).
So, we should make it easy to both:
- access/get the set plotting variables, notably with a function
getvarsanalogous tosetvarsto return them as a dictionary; and - set new plotting variables with
setvarswithout setting anything not input there to the default i.e. editing any variables defined in the call without changing any other values.
(1) is priority since the latter could be achieved by inputting the former as kwargs to setvars along with any values to change, but that is a bit clunky as the ideal overall solution to (2).
- 主要言語
- Python
- スター
- 21
- フォーク
- 11
- 平均マージ
- 7時間 11分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NCAS-CMS/cf-plot のほかの issue
-
testing
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
-
Add `AGENTS.md` fileオープンdocs enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 64/100
-
Add animation hooks into cf-plot再び着手できるかも @bnlawrence が 97 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
-
bug v35plus
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
NCAS-CMS/cf-plot の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
area:docs
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
RailtownAI/railtracks#1633 ·
メンテナーはふだん 2 日以内に返信
-
review-panel severity:low
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
kristovatlas/coin-accounting#152 ·
メンテナーはふだん 1 日以内に返信
-
documentation :blue_book:
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
PennyLaneAI/pennylane#10280 ·
メンテナーはふだん 2 日以内に返信
-
`pipx reinstall` prints a Python traceback when the reinstall fails対応中かも @ParamTanna が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信