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

Default toolbar overlaps figure

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
jupyter-notebook, python
領域
frontend

調査の方向性

この issue は Jupyter Notebook 統合における toolbar_position の動作に関するものです。まず、デフォルトのツールバーを配置する実装と、関連するレイアウトテストを見つけてください。constrained_layout=True で重なりを再現し、選択した位置指定の動作において、ツールバーと Figure が別々のボックスを占有することを確認してください。

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

説明

enhancement

Describe the issue

The default position of the toolbar is on the left, where it overlaps the figure.
Especially when the constrained_layout=True keyword is used when creating the figure,
this is highly undesirable.

Possible solutions or workarounds:

  • Minimal fix: Change the default to anything other then "left"; I think that with the current design, "right" would be by far the best. It would minimize the likelihood of an overlap.
  • The real fix: When the toolbar_position is on the left, position the figure to its right. Ideally, all toolbar positions should be in boxes that never overlap the figure box. With this scheme I suggest putting the default toolbar on the top or bottom, and flush left, to match all of the other matplotlib interactive backends.

Versions

 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 06:06:49)
[Clang 12.0.1 ]
ipympl version: 0.9.2
Selected Jupyter core packages...
IPython          : 8.5.0
ipykernel        : 6.16.0
ipywidgets       : 7.7.0
jupyter_client   : 7.3.5
jupyter_core     : 4.11.1
jupyter_server   : 1.23.1
jupyterlab       : 3.5.0
nbclient         : 0.6.8
nbconvert        : 7.0.0
nbformat         : 5.6.1
notebook         : 6.5.2
qtconsole        : 5.3.1
traitlets        : 5.4.0
Known nbextensions:
  config dir: /Users/efiring/.jupyter/nbconfig
    notebook section
      matplotlib/extension  enabled
      - Validating: problems found:
        - require?  X matplotlib/extension
  config dir: /Users/efiring/miniconda3/envs/py38/etc/jupyter/nbconfig
    notebook section
      jupyter-matplotlib/extension  enabled
      - Validating: OK
      jupyter-js-widgets/extension  enabled
      - Validating: OK
JupyterLab v3.5.0
/Users/efiring/miniconda3/envs/py38/share/jupyter/labextensions
        jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
        jupyter-matplotlib v0.11.2 enabled OK
        @jupyter-widgets/jupyterlab-manager v3.1.1 enabled OK (python, jupyterlab_widgets)

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

matplotlib/ipympl のほかの issue

matplotlib/ipympl の issue をすべて見る

似ている issue

Web Dev の issue をもっと見る

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

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