matplotlib / matplotlib/ipympl

Feature request: add an option to hide header/title bar in NbAgg/WebAgg

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

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

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

説明

This is a cross-post of https://github.com/matplotlib/matplotlib/issues/11986 as requested in that issue - this issue also applies if I use jupyter-matplotlib

I am making use of the NbAgg backend to implement data viewers for the Glue application in Jupyter notebook. However, one thing that I've found is that the title/header bar is unnecessary in a lot of (my use) cases and there is also a lot of wasted space between the title/header bar and the plot itself:

screen shot 2018-08-30 at 14 59 12

This is even more the case when opening multiple plots in a single notebook.

Would it be possible have a way to turn off the header/title bar and get a tighter layout? (or is there already a way to do this?). In my mind it would look nicer to simply have:

screen shot 2018-08-30 at 14 59 12

And for my use case I'm fine with losing access to the 'power' button to freeze the plot.

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

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

はじめの一歩

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

調査の方向性

まず、jupyter-matplotlib が使用する NbAgg/WebAgg のエントリポイントをたどり、現在のヘッダー/タイトルバーを要求されたコンパクトなレイアウトと比較します。既存のプロットの動作を維持したまま、そのバーを無効にできるオプションが用意され、結果のレイアウトを notebook で確認できれば完了です。

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

評価

技術スタック
jupyter, jupyter-notebook
領域
frontend, web-dev
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

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

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