matplotlib / matplotlib/ipympl

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

Đang mở
#78 0 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
Jupyter Notebook
Star
1.7k
Fork
234
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách lần theo các entry point NbAgg/WebAgg được jupyter-matplotlib sử dụng và so sánh thanh tiêu đề/title hiện tại với layout nhỏ gọn được yêu cầu. Công việc được xem là hoàn tất khi có một tùy chọn cho phép vô hiệu hóa thanh đó mà vẫn giữ nguyên behavior hiện tại của plot, đồng thời layout thu được đã được kiểm tra trong một notebook.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
jupyter, jupyter-notebook
Lĩnh vực
frontend, web-dev
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
42/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.