matplotlib / matplotlib/ipympl

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

Aperta
#78 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Jupyter Notebook
Stelle
1.7k
Fork
234
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

*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](http://glueviz.org/) 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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia tracciando i punti di ingresso NbAgg/WebAgg utilizzati da jupyter-matplotlib e confronta la barra dell’intestazione/titolo attuale con il layout compatto richiesto. Il lavoro è completato quando un’opzione può disabilitare quella barra mantenendo il comportamento esistente del grafico, e il layout risultante è stato verificato in un notebook.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
jupyter, jupyter-notebook
Ambito
frontend, web-dev
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.