tkeffer@gmail.com
b2ae5176d1
Got rid of unnecessary assertions.
2019-12-16 17:06:12 -07:00
Tom Keffer
98bde92048
Check for condition where both min and max are zero.
...
Fixes issue #463
2019-10-28 08:40:34 -07:00
Alex Edwards
2f052321d4
Fixed and improved blend() function for day/night colouration.
...
* Uses shortest travel distance around colour wheel to minimize extra colours in blend.
* Detects grey colours to minimize travel around HSL colour wheel
* Fixes math to use 255.0 rather than 256.0
2019-10-24 11:05:18 +13:00
Tom Keffer
77480391d0
Changed name of test subdirectory from 'test' to 'tests'.
2019-03-02 17:26:05 -08:00
Tom Keffer
0728b54c6b
Use native 'range', instead of compatibility shim.
2019-02-24 06:01:25 -08:00
Tom Keffer
1037aa5292
Reverted name back to _rel_approx_equal
2019-02-14 06:35:55 -08:00
Tom Keffer
01db79d31a
Created unittests for weeplot.utilities
2019-02-14 06:23:36 -08:00
Tom Keffer
688a8427bb
Machine translated bin/weeplot using python-modernize
2019-02-12 18:36:10 -08:00
Tom Keffer
6c98ce4e86
Changed xrange() to range()
2019-02-09 15:04:00 -08:00
Tom Keffer
8e47104a4e
More literal unicode strings
2019-02-09 14:16:19 -08:00
Tom Keffer
c11431aff9
Check point
2019-02-09 11:33:58 -08:00
Tom Keffer
8e2d07ac56
When reading ConfigObj from a file, decode from utf-8
2019-02-07 10:20:19 -08:00
Tom Keffer
0b380dcc59
Simplify path logic slightly
2019-02-06 05:23:40 -08:00
Matthew Wall
d55089ce07
do not normalize path if path is None
2019-02-05 20:54:41 -05:00
Tom Keffer
ecac2a7823
Catch up merge of branch 'development' into newskin
...
# Conflicts (all resolved):
# bin/weecfg/__init__.py
# bin/weecfg/test/expected/weewx_user_expected.conf
# bin/weewx/reportengine.py
# docs/changes.txt
2018-10-07 06:38:27 -07:00
Tom Keffer
3e516ab944
Fixed bug that caused divide-by-zero error in plots. Issue #344 .
2018-09-27 05:49:58 -07:00
Tom Keffer
a6c96c9680
More robust formatting for the tests
2018-09-25 05:40:53 -07:00
Tom Keffer
451aa5f960
corrected comment
2018-09-25 05:24:34 -07:00
Matthew Wall
937936abfd
merge master
2018-06-16 08:23:56 -04:00
Tom Keffer
b157af03c9
Merge remote-tracking branch 'remotes/origin/master' into development
...
# Conflicts:
# docs/changes.txt
2018-06-16 05:16:23 -07:00
Tom Keffer
54426d78b0
Added definitions for missing attributes
2018-04-17 04:33:30 -07:00
Tom Keffer
f4385cab13
Fixed typo. s/rose_line_widght/rose_line_width/
2018-01-17 18:29:35 -07:00
Tom Keffer
5206fb3f7a
Rose line width can now be specified with option rose_line_width
2018-01-17 17:39:37 -07:00
Matthew Wall
22e20445a0
Merge branch 'development' into newskin
2017-04-28 10:29:06 -04:00
Tom Keffer
4c391325a8
Fixed bug that could cause tick crowding when hardwiring y-axis min and
...
max values.
2017-04-17 10:06:00 -07:00
Tom Keffer
e59d57ec1b
The nominal number of ticks on the y-axis can now be specified using option y_nticks.
2017-03-25 08:17:37 -07:00
Tom Keffer
eddd084835
Correct one test case. Added a couple more tests.
2017-03-24 16:22:17 -07:00
Tom Keffer
2bbe581f08
Fill colors can now be specified. Fixes issue #227 .
2017-03-11 12:54:32 -08:00
Paolo
f478b6be05
Update genplot.py
2017-03-11 14:10:46 +01:00
Matthew Wall
d9d5d90cd4
use local fonts, for both the web display and the plot generation
2017-01-22 20:05:11 -05:00
Oga83
0ae29a4b61
Add 1-year increment for multi-year images
2016-04-07 18:06:32 +02:00
Matthew Wall
d2c591148c
fix anti-alias bug
2016-04-06 09:30:03 -04:00
Tom Keffer
03ccc61d58
GenPlot now uses Unicode throughout.
...
test_templates is now more locale aware
2016-02-20 08:58:36 -08:00
Tom Keffer
2e3df797a5
Plotting now uses Unicode internally for labels.
2016-02-20 08:01:25 -08:00
Matthew Wall
b1594a8183
deal with plots that have no data
2016-02-05 22:27:04 -05:00
Tom Keffer
bc74172242
The offset of the bottom label can now be set with option
...
bottom_label_offset.
2015-09-16 05:46:25 -07:00
Tom Keffer
91e9864a98
Went through all the Python code, deleting all SVN $Id$ tags.
...
Standardized copyright notices, except for those I don't own.
2015-02-21 09:44:19 -08:00
Matthew Wall
f1348abaad
deal with marker_size=None
2015-02-06 14:05:52 +00:00
Tom Keffer
d346975724
Added Nick Dajda's anti-aliasing feature for plots. Left it undocumented for now.
2015-02-05 16:53:24 +00:00
Tom Keffer
1738d2ffed
Reintegrate from the v3 branch.
...
V3.0.0b1
2014-11-29 18:15:24 +00:00
Matthew Wall
6cbed30d5a
avoid unicode exceptions when rendering unit_label
2014-03-08 12:27:08 +00:00
Tom Keffer
be8ebe4b7d
The plot images can now use UTF-8 characters.
2014-02-20 13:55:23 +00:00
Tom Keffer
004b230475
Internationalized _calcXLabelFormat()
2014-02-01 17:30:49 +00:00
Matthew Wall
e879354650
added default x label format for time plot
2014-02-01 04:13:44 +00:00
Tom Keffer
7aa227599e
Some more tweaks to plot layout.
2014-02-01 00:38:31 +00:00
Tom Keffer
c8b7d5c12d
Fine tuned right margin.
2014-01-31 15:37:30 +00:00
Tom Keffer
59cb084966
Failure to set an archive interval when using bar plots no longer results in an exception.
2014-01-30 23:58:38 +00:00
Tom Keffer
8995b7d27e
Image margins now scale with image and font sizes.
2014-01-24 16:38:04 +00:00
Tom Keffer
19b07707f1
Now caches font handles in order to work around a memory leak in PIL.
2014-01-18 01:54:57 +00:00
Tom Keffer
f205595715
Weewx now allows easier localization to non-English speaking locales.
...
In particular, set the environment variable LANG to your locale, and
then weewx date and number formatting will follow local conventions.
Details in a new section in the Customization Guide.
2013-09-10 20:19:17 +00:00