Граф коммитов

794 Коммитов

Автор SHA1 Сообщение Дата
Peter Williams 1b3e8bb226
Merge pull request #254 from pkgw/cmap-serialization
Include image colormap selection in JSON serialization
2020-02-11 09:09:22 -05:00
Peter Williams bedf85cb66 pywwt/tests/test_serialization.py: add a basic test of colormap serialization 2020-02-11 08:55:24 -05:00
Peter Williams 0a6503c063 Serialize image colormap settings in HTML/JS export. 2020-02-11 08:51:22 -05:00
Thomas Robitaille e30be0289e
Merge pull request #253 from astrofrog/fix-ci-badges
Update CI badges
2020-01-17 17:02:09 +00:00
Thomas Robitaille 13aaa16c8d Fix tests with latest release of astropy 2020-01-17 16:24:54 +00:00
Thomas Robitaille 38585b5373
Added Azure Pipelines badge 2020-01-16 17:00:25 +00:00
Thomas Robitaille e444d8e42d Remove old CI badges 2020-01-16 16:57:16 +00:00
Peter Williams 756a6959f7
Merge pull request #223 from astrofrog/fast-cmap
Make use of fast colormapping in SDK
2019-10-02 14:09:24 -04:00
Thomas Robitaille 5f5fad0a95 Fix requests link in docs 2019-10-02 17:29:32 +01:00
Thomas Robitaille 0fab45ad11 Added changelog entry 2019-10-02 16:50:50 +01:00
Thomas Robitaille e29b249ae4 Use efficient approach for colormapping when possible, fall back on old approach when not possible 2019-10-02 16:48:35 +01:00
Thomas Robitaille 910f92826c Use method name with typo fixed 2019-10-02 16:47:03 +01:00
Thomas Robitaille 18ef7af1ea Switched implementation of colormapping of points to use new efficient colormapping functionality in the SDK 2019-10-02 16:47:03 +01:00
Peter Williams 7e5067d032
Merge pull request #248 from astrofrog/image-cmap
Allow image colormap to be set
2019-10-02 11:42:05 -04:00
Peter Williams c844965184 Add a "gray" colormap and set up the UI to use more helpful names
The new "gray" colormap allows us to emulate the usual WWT colormapping
standard. We want to maintain compatibility with Matplotlib colormap names,
but that means that we have both "gray" (black => white) and "Greys" (white =>
black), which is super unhelpful, so wire up the UI to use better
descriptions.
2019-10-02 16:28:45 +01:00
Thomas Robitaille d51949d567 Improve image controls widget to include stretch, and fix issue related to setting the colormap on first image show 2019-10-02 16:28:44 +01:00
Thomas Robitaille c4b19fc736 Added support for setting the colormap on image layers 2019-10-02 16:28:44 +01:00
Thomas Robitaille 027079cf8f Added changelog entry 2019-10-02 16:28:43 +01:00
Peter Williams 36be20302c
Merge pull request #236 from pkgw/pr-template
.github/pull_request_template.md: add this
2019-10-02 09:02:15 -04:00
Peter Williams 216a47e350
Merge pull request #224 from astrofrog/fast-size
Make use of fast size scaling in SDK
2019-10-02 08:56:45 -04:00
Thomas Robitaille 75ad0a952c Added changelog entry 2019-09-30 21:21:21 +01:00
Thomas Robitaille e47d66fd04 Enable clip option 2019-09-30 20:50:39 +01:00
Thomas Robitaille 351e3e10b6 Fix column name 2019-09-30 20:41:24 +01:00
Thomas Robitaille 9c358cf64a Switched implementation of size scaling of points to use new efficient scaling functionality in the SDK 2019-09-30 18:17:56 +01:00
Peter Williams c08c9cdb4c
Merge pull request #238 from ojustino/layer-time-docs
Updated docs to reflect time series additions
2019-09-25 16:52:12 -04:00
Peter Williams dbe3a45551 docs/views.rst: fix description of get_current_time()
A copy/paste-o had us calling `set_current_time()`, and the crosslink markup
was missing backticks. Also remove some parentheses.
2019-09-25 16:36:17 -04:00
Peter Williams a450267dfc
Merge pull request #240 from ojustino/doc-binder-links
Changed Binder links on index page of docs
2019-09-25 16:24:56 -04:00
O . O bcda562e8f Changed Binder links on index page of docs 2019-09-25 15:32:52 -04:00
O . O 95752aa1a5 Made edits to time (series) documentation 2019-09-24 23:47:16 -04:00
Peter Williams fcc30e3b25
Merge pull request #239 from pkgw/fix-readme-nonascii
setup.py: fix package build on BinderHub
2019-09-24 22:43:14 -04:00
Peter Williams e5bb90451d setup.py: fix package build on BinderHub
For whatever reason, the package build reads in README.rst such that it
expects it to be ASCII encoded, leading to an error if there's any Unicode.
Use io.open and specify the encoding manually to make sure this doesn't
happen.
2019-09-24 22:27:58 -04:00
O . O 8bb46a4f62 Updated docs to reflect time series additions 2019-09-24 21:14:04 -04:00
Peter Williams 32332cdb7e
Merge pull request #237 from ojustino/imagery-naming
Adjust imagery naming in Jupyter
2019-09-23 21:19:48 -04:00
Peter Williams 455fe08dc4
Merge pull request #187 from ojustino/layer-time
Support time-series layers
2019-09-23 21:13:37 -04:00
O . O ec95cffe55 Fix imagery naming in Jupyter 2019-09-23 17:43:05 -04:00
Peter Williams 30793b902f .github/pull_request_template.md: add this 2019-09-23 10:22:28 -04:00
Peter Williams 4ccaf2a4c6 pywwt/conftest.py: attempt to fix CI
The previous time implementation had a bug where `set_current_time()` was off
by a month, because JavaScript has the *amazing* thing where the constructor
`Date(year, month, day)` uses zero-based month numbers, but 1-based everything
else. This PR uses a different approach that should fix this issue, but that
has the side effect of changing the images generated during the CI process.
Make the problem go away by altering the reference date to be 2017 Feb 1,
which was not what was intended before, but was what was actually being used.
2019-09-22 19:23:13 -04:00
O . O 7371224369 Added UTC conversion function to utils.py 2019-09-22 01:03:50 -04:00
O . O 63ae8373a9 Updated CHANGES.rst with layer/time additions 2019-09-21 19:44:24 -04:00
O . O 917cc0d429 Edited tests for layer, ColorWithOpacity changes 2019-09-21 19:41:11 -04:00
O . O 45fa3c316c Removed debug printouts from wwt_json_api.js 2019-09-21 19:41:11 -04:00
O . O 968cda2985 Removed time series tests 2019-09-21 19:41:11 -04:00
Peter Williams a5cb434545 pytz is now required
Document that, and other recently-added requirements as well.
2019-09-21 19:41:11 -04:00
Peter Williams ec703d3167 azure-template.yml: test basic importability of the module 2019-09-21 19:41:11 -04:00
Peter Williams 15b5aa61b1 .check_enabled.py: fix output if the plugin does not validate
A CI failure revealed a weakness in the Jupyter validation code: if there's a
problem, the code will crash if you haven't passed it a logger, causing the
true error message to be lost. So, let's provide a logger.
2019-09-21 19:41:11 -04:00
Peter Williams 5f90fc96ad pywwt/core.py: fix some smart quotation marks that somehow got in here 2019-09-21 19:41:11 -04:00
O . O b8111327db Fixed Qt/Jupyter UTC issues and time series tests 2019-09-21 19:41:11 -04:00
O . O 2c625d773c Added method in core.py to return time in viewer 2019-09-21 19:41:11 -04:00
O . O 6f3267edf2 Emphasized ISOT standard for passing times to WWT 2019-09-21 19:38:23 -04:00
O . O 63f46a0133 Resolved more untagged trait metadata TypeErrors 2019-09-21 19:37:02 -04:00