matplotlib / matplotlib/ipympl

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

Offen
#78 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Jupyter Notebook
Sterne
1.7k
Forks
234
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

*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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, die von jupyter-matplotlib verwendeten NbAgg/WebAgg-Einstiegspunkte nachzuverfolgen und die aktuelle Kopf-/Titelleiste mit dem angeforderten kompakten Layout zu vergleichen. Als abgeschlossen gilt die Aufgabe, wenn eine Option diese Leiste deaktivieren kann, während das bestehende Plot-Verhalten erhalten bleibt, und das resultierende Layout in einem Notebook überprüft wurde.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
jupyter, jupyter-notebook
Bereich
frontend, web-dev
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.