← 返回首页
histogram lut widget by kushalkolar · Pull Request #344 · fastplotlib/fastplotlib · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

histogram lut widget#344

Merged
kushalkolar merged 6 commits into
mainfrom
hlut-widget
Oct 28, 2023
Merged

histogram lut widget#344
kushalkolar merged 6 commits into
mainfrom
hlut-widget

Conversation

kushalkolar commented Oct 27, 2023
edited
Loading

Copy link
Copy Markdown
Member

closes #166

Also moved animation and render methods from Subplot to PlotBase, because we need DockedPlotArea to use animation functions which is required for LinearRegionSelector plot hooks.

hist-lut.mp4

remaining todo:

  • integrate with image widget, removing existing ipywidget sliders
  • bidirectional events with associated ImageGraphic
  • garbage collection, make sure events are cleaned up if switching ImageGraphic too
  • text to display min and max next to the lines? Will do in another PR since text was refactored
  • allow adjusting flank size
  • prevent LinearRegionSelector from re-enabling the controller when used in docks

For now this is not easily exposed by any imports and only used by ImageWidget. We can expose after it stabilizes more and if we're happy with keeping this in fastplotlib/widgets.

Comment thread fastplotlib/layouts/_base.py Show resolved Hide resolved
Comment thread fastplotlib/layouts/_base.py Show resolved Hide resolved
Comment thread fastplotlib/widgets/histogram_lut.py Show resolved Hide resolved
Comment thread fastplotlib/widgets/histogram_lut.py Outdated Show resolved Hide resolved
kushalkolar mentioned this pull request Oct 27, 2023
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Histogram vmin vmax widget

2 participants

Footer

© 2026 GitHub, Inc.