Skip to content

Commit

Permalink
Merge pull request #115 from timholy/teh/gtkr
Browse files Browse the repository at this point in the history
Rewrite ImageView based on GtkReactive
  • Loading branch information
timholy authored May 21, 2017
2 parents 0ad314c + 669c5e5 commit d09af0a
Show file tree
Hide file tree
Showing 32 changed files with 1,554 additions and 1,625 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
language: julia
sudo: true
dist: trusty
os:
- linux
addons:
apt:
packages:
- xvfb
- xauth
- libgtk-3-0
julia:
- 0.5
- 0.6
- nightly
notifications:
email: false
Expand Down
34 changes: 34 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# New in 0.5

ImageView has been rewritten from scratch. Effort was made to maintain
backward compatibility where possible.

## Breaking changes

- The return value of `imshow` has changed; it is now a `Dict` that
stores Gtk widgets, Reactive signals, etc.

## Major features

- This package now uses Gtk. Rendering is considerably faster in some
cases, and the package is faster to load due to precompilation.

- Navigation and zoom region are controlled by GtkReactive/Reactive
signals, allowing one to more easily extract this information for
reuse elsewhere. Examples are shown in the README.

- A new contrast GUI is independent of any plotting package, leading
to faster loading and faster time-to-first-plot.

- One can now display objects that are not subtypes of
`AbstractArray`. See `test/cone.jl` for a demonstration.

## Deprecations

- `canvasgrid` now returns more arguments; a deprecation warning
encourages transitioning to the new syntax

- `pixelspacing` is deprecated as a keyword (use an `AxisArray` instead)

- The `xy` keyword has become `axes`, and it takes dimension integers
or Symbols (if the image is an AxisArray)
Loading

0 comments on commit d09af0a

Please sign in to comment.