GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — indexable graphic attributes by kushalkolar · Pull Request #78 · fastplotlib/fastplotlib

Conversation

@kushalkolar

@kushalkolar kushalkolar commented Dec 19, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

implements #77

GraphicFeatures to implement:

  • colors
  • sizes
  • data - mostly wrap current update_data methods, just pass the slice obj directly to geo.grid or geo.positions, and for positions update_range with indices parsed by slice object, otherwise entire thing with grid.
  • present (different from visibility) - not indexable
  • events for when these change

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
kushalkolar added 4 commits December 18, 2022 22:33
@kushalkolar
started graphic attributes, colors work
75cc2c7
@kushalkolar
cleanup ColorFeature
865cbf0
@kushalkolar
more color indexing stuff
3012e20
@kushalkolar
more organized color feature
6904bb4
@kushalkolar

kushalkolar commented Dec 19, 2022

Copy link
Copy Markdown
Member Author

color indexing is really nice :D

crazy_colors-2022-12-19_04.30.30.mp4
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kushalkolar
ColorFeature working, updated graphics and base Graphic color handlin…
5ceb397
…g, updated examples
@kushalkolar

kushalkolar commented Dec 19, 2022

Copy link
Copy Markdown
Member Author

this insanity is possible now: https://www.youtube.com/watch?v=j_gwi-Wf1Ao

also this which is more useful 😄

image

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kushalkolar
update simple.ipynb, better line plot example
3c9ce6f
@kushalkolar

kushalkolar commented Dec 19, 2022

Copy link
Copy Markdown
Member Author

For scatter we can make size an indexable feature too.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kushalkolar kushalkolar mentioned this pull request Dec 21, 2022
beginning base logic for interactivity impl #61
Closed
kushalkolar added 3 commits December 21, 2022 03:38
@kushalkolar
can directly set graphic features, Graphic has __setattr__, added Gra…
f7dc063
…phic.visible
@kushalkolar
added PresentFeature to toggle graphic's presence in the scene
71037f0
@kushalkolar
add DataFeature, refactor to update other things, HistogramGraphic is…
c0ccb03
… broken because of DataFeature
@kushalkolar kushalkolar mentioned this pull request Dec 22, 2022
workshop todo #63
Closed
11 of 14 tasks
@kushalkolar
features now trigger events, similar format as pygfx events, tested a…
78aeb2e
…nd works!
@kushalkolar

kushalkolar commented Dec 22, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

@EricThomson, @clewis7 , @ArjunPutcha
guys this is pretty epic, changing a GraphicFeature can trigger events 😄

Caitlin, pick_info formatting is the same as pygfx events to make life easy :D

features-events-2022-12-22_06.07.58.mp4

Will merge as soon as #61 is ready

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kushalkolar
warning if event handlers already registered or has weird argspec
22f7283
@kushalkolar kushalkolar mentioned this pull request Dec 22, 2022
storing graphics in dict #65
Closed
@EricThomson

EricThomson commented Dec 22, 2022

Copy link
Copy Markdown
Contributor

Nice -- this will make certain other things so much easier.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kushalkolar
kushalkolar merged commit 088f032 into master Dec 23, 2022
This was referenced Dec 25, 2022
graphic features, part 2 #85
Closed
improvements for heatmap and histogram #86
Closed
handling colors and other modifiable attributes #77
Closed
@kushalkolar
kushalkolar deleted the graphic-attrs branch January 7, 2023 03:22
@kushalkolar kushalkolar mentioned this pull request Jan 14, 2023
Roadmap 2026 #55
Open
54 of 78 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@kushalkolar @EricThomson
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.