matplotlib
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Help
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    GSOC 2024 - ## 15 May 2024 in 'community bonding period' * https://developers.google.com/open-source/gsoc/timeline Weekly meeting every Wednesday 4 pm GMT+2 = 9 am CDT = 10 am EDT. - Normally Hannah and Kyle, still meet if only 1 - Can skip meeting if not needed - Extra meeting if needed Next meeting 29th of May. For next time: 1. [name=hannah] Announcement 2. [name=Trygve] Blog post 3. [name=Trygve] Make sure everything is ready to start working (compliles, etc.) 4. [name=Trygve] Think about the order in which different aspects need to be reviewed Keep track of progress Issue: will be one large commit → cannot be split into separate pieces 1. minimal → techincal (+picture(s) from tutorial) 2. tutorial 3. colormaps a. bivariate b. multivariate pro/con table of new feature 1. Assume we want bivariate colormaps 2. Either new machiner as new pipelines or expand functionality of existing machinery 4. Another level of checks for input 5. New switches inside functions Tim → API lead Anthony → Principle Engineer Tom → Project lead Jody → Secretary (&documentation(?)) Touching large parts of code → want everyone on board with changing ## 29th of may Code has been branched → need to resolve conflicts Fancy rebase? Split pull request into several steps → also achieved via fancy rebase? Different ways to merge → Just merge → Rebase and merge (can't handle conflicts) → Suqash and merge → makes commits in branch into a single commit (automated concatenation of commit messages) (standard procedure to err on not squeezing) Squeeze out any commits that are broken → particularly important for bisecting the codebase later Make it three(?) separate PRs main ↓ ↓ → branch 1 ↓ ↓ ↓ ↓ → branch 2 ↓ ↓ ↓ ↓ ↓ ↓ etc. separate PR from each branch Rebase excersize % replay commits from current branch on top of current branch git rebase --onto main main % --onto <branch> <origin> % fix file where ther eis conflict git add lib/matplotlib/__init__.py git rebase --continue %etc. % try git push: % failes → no shared history git push --force-with-lease # retain same pr alternatively git -i rebase --onto main main s for squash Can make new branch to test rebasing Cherry-pick excersize % replay commit from some branch onto current branch select only some commits % git checkout main % git switch -c mult_part_1 % git cherry-pick hash % git cherry-pick hash...hash % multiple % git rebase --abort for next meeting: [name=Trygve] rebase everything squash what can be squased reorder into modes [name=Trygve] make branches ## 29th of may Comment on the PR about what the different files do → Changes to class hierarchy (new classes) → Files with colormaps () → Changes to plotting functions (_axes.py) → Methods for showing colorbars (figure.py) turn off code coverage for figure.py functions, https://stackoverflow.com/questions/64611388/exclude-a-function-from-coverage Add test for 'scaler' sent to multivariate colormap Choose behaviour of constant sent to multivariate colormap https://github.com/matplotlib/matplotlib/pull/26307 break PR up more? → vectormappable (scatter?) → introducing vectormappable to collections → make a figure about how changes fit together → also in order to sell the idea add test for colormap subclassing norm legend pairing → log norm etc. ### update notes - For 2D colormaps data passes throught independent norms [logNorm, etc.], before interpolation to a square or circular colormap (handled with a keyword 'square' or 'circle', could be expanded if other use cases are needed) - For Nd colormaps, allso passes through independent norms before combining in an additive or subractive way in RGB space (keyword 'add' or 'sub'). - other then RGB is slow, also has to be external 'cause colorspacious - MultiNorm and MultiCmap written to be subclassed ## 12th of june VectorMappable containing a list of ScalarMappable is strange, - Share common ancestor? - VectorMappble base class - SalarMappable subclass that only handles 1D → probably best idea - complex dtype to store multivariate data? ## 19th of june Potential problem: If user does a check `isinstance(_, cm.ScalarMappable)` the current version will break their code - Use a meta class? - Let it break? - Lets just have one class (ScalarMappble) → could also work copys: - list of arrays, converting to dtype internally is a copy - extra diminsion - should the relevant axis be first or last? (if last, can use view) - axis keyword? ## 3rd on July good development in disussions on PR for next time - resolve issues - see if can run stubtest - PR with Vectormappable -- rebase from colormaps - soon-ish decide if first axis is x or y - no meeting next week, conference on west cost, reschedule for different time if needed ## 17 of July - vectormappable waiting on @timhoffman - bivariate issues resolved, JBarrows's suggestions put on todo list - https://trygvrad.github.io/designing-multivariate-colormaps/ -> base for new docs - imshow, pcolor, pcolormesh mostly ready to go but waiting on mappable discussion ### to dos: - Take a look at colormap union type, see status and add the union - cleanup colormaps pr for merging - [x] see if we can schedule a meeting w/ @timhoffm ## 24th of July - Moving forward on the colormap PR - on call say intention is to merge/it's in a clean could be refactored state - possible for a short paper next year https://ieeevis.org/year/2024/info/call-participation/shortpapers - "Ten simple rules ..." https://collections.plos.org/collection/ten-simple-rules/ - Written blogpost on designing multivariate colormaps https://trygvrad.github.io/multivariate-colormaps-for-n-dimensions/ ### to dos: - [x] Follow up w/ Tim - Make a draft for a class/method fig.colorbar_nD() - different combination modes, i.e.: plt.imshow((A, B, C), cmap='3VarAddA') plt.imshow((A, B, C), cmap='3VarAddA_lighten') Versions evaluated at runtime, [1D colormaps should then also be reversed on runtime, i.e 'viridis_r'] - [x] Add tests for wrong bytorder in multi/bivaraite comlormaps ## 30th of July - [ ] change PR name - [ ] update PR to new functionality - [ ] check codecov - [ ] typing (later?) - Moving the image pipeline to the mappable is out of scope here, but we could be moved in the future - maybe open issue sketching out next steps, would potentially help w/ interpolation and aliasing bugs Things missing after this PR - tutorials - fig.colorbar - colormaps ## August # Architecture ## new inheritance ```mermaid graph TD ColorizerInterface --parent of--> ColorizerArtist Artist--parent of --> ColorizerArtist ColorizerInterface --parent of--> ScalarMappable ``` # Transition repeat for all artists that inherit the `Mixin(Artist, ScalarMappable)` ## Aug 21st - [name=story645] create tracking issue for colorizer + bivariate work after pipeline gets merged - final report: https://trygvrad.github.io/gsoc-2024-bivariate-colormaps-summary/ - finishing touches to pipeline PR - add colorizer to docs - add API and whats new (possibly on follow up) notes - waiting on Tom & correct docs build for merging approval - bivariatecolormap - elliot approved - hannah plans to approve after docs changes - next step: exposing the new methods in plotting API - can only trigger multivariate functionality w/ explicit multivariate cmap - input shape of data for bivariatecmap to process it

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully