Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PlotPyStack/PlotPy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: PlotPyStack/PlotPy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: release
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 12 files changed
  • 2 contributors

Commits on Apr 22, 2026

  1. bump version to 2.9.1

    PierreRaybaut committed Apr 22, 2026
    Configuration menu
    Copy the full SHA
    2d9124e View commit details
    Browse the repository at this point in the history
  2. fix: rectangular snapshot "Original size" on reversed axes and XYImag…

    …eItem (#57)
    
    Compute the snapshot "Original size" from pixel coordinates instead of axis
    units, via the new helper compute_image_items_original_size(). This fixes:
    
    - negative dimensions when X or Y axis is reversed
    - wrong size for XYImageItem (and any non-uniformly scaled item)
    - ValueError raised by the resize dialog on negative selections
    
    Also harden compute_trimageitems_original_size() against negative source
    sizes, and add unit tests covering all reported cases.
    PierreRaybaut committed Apr 22, 2026
    Configuration menu
    Copy the full SHA
    7b38c01 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dc4c23e View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2026

  1. fix: ensure consistent original size reporting for selections larger …

    …than plotted images in ImageItem and XYImageItem
    
    Ref. #57
    PierreRaybaut committed Apr 23, 2026
    Configuration menu
    Copy the full SHA
    1a49db0 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2026

  1. Fix snapshot tool's "Original size" to preserve native pixel resolution

    Follow-up to the initial #57 fix
    
    Co-authored-by: Copilot <copilot@github.com>
    PierreRaybaut and Copilot committed Apr 24, 2026
    Configuration menu
    Copy the full SHA
    b25614c View commit details
    Browse the repository at this point in the history
  2. Fix snapshot tool's stuck cross cursor outside the plot canvas

    Closes #58
    
    Co-authored-by: Copilot <copilot@github.com>
    PierreRaybaut and Copilot committed Apr 24, 2026
    Configuration menu
    Copy the full SHA
    4a3eeb3 View commit details
    Browse the repository at this point in the history
  3. Fix Z-axis log tool being always disabled for non-ImageItem image types

    Closes #59
    
    Move the Z-axis logarithmic scale API (`get_zaxis_log_state` /
    `set_zaxis_log_state`, along with `_log_data`, `_lin_lut_range` and
    `_is_zaxis_log` attributes) from `ImageItem` up to `BaseImageItem`,
    so that all image item types (`XYImageItem`, `MaskedImageItem`,
    `MaskedXYImageItem`, `TrImageItem`, `RGBImageItem`) inherit it.
    
    Update `XYImageItem.draw_image` and `TrImageItem.draw_image` to use
    `_log_data` when log mode is active, like `ImageItem` already did.
    
    Loosen the `ZAxisLogTool` filter from `isinstance(item, ImageItem)`
    to `isinstance(item, BaseImageItem)`. The existing `hasattr` check
    keeps the filter safe for any custom item.
    
    Previously, the tool was always disabled when the plot only contained
    `XYImageItem`-derived items (e.g. `MaskedXYImageItem` used by DataLab).
    
    Co-authored-by: Copilot <copilot@github.com>
    PierreRaybaut and Copilot committed Apr 24, 2026
    Configuration menu
    Copy the full SHA
    53af760 View commit details
    Browse the repository at this point in the history
Loading