Tom Keffer
5140cedf07
X-axis for time series plots must always be in unix epoch time.
2021-04-16 13:53:11 -07:00
Tom Keffer
e51b2a63a5
Fixed problem where unit labels would not render correctly under Python 2.7 if
...
they were set by a 3rd party extension. Fixes issue #662 .
2021-04-08 07:37:48 -07:00
Tom Keffer
53e9690a71
Minor refactoring.
2021-04-07 12:56:16 -07:00
Tom Keffer
38502bf5a9
locale.format() has been deprecated. Use locale.format_string() instead
2020-12-14 16:51:29 -08:00
Brent Fraser
35cc238364
add ability to select the y-axis to label ( #610 )
...
* add ability to select the y-axis to label
* added note re ability to select the y-axis to label
2020-09-28 05:38:38 -07:00
tkeffer@gmail.com
b2ae5176d1
Got rid of unnecessary assertions.
2019-12-16 17:06:12 -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
0728b54c6b
Use native 'range', instead of compatibility shim.
2019-02-24 06:01:25 -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
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
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
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
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
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
Tom Keffer
976dd51328
Changed variable name to avoid assignment to reserved symbol "next".
2013-08-25 01:44:56 +00:00
Tom Keffer
b97bbcef63
Ported to Korora 19. Required "from PIL import ..." instead of a simple import.
2013-08-17 01:10:26 +00:00
Matthew Wall
7347288260
forgot to import colorsys for daynight gradients
2013-03-28 00:38:51 +00:00
Matthew Wall
99cb9677b6
add gradients to daynight transitions
2013-03-27 23:42:30 +00:00
Matthew Wall
f1214c8390
revert gradients until corner cases are sorted
2013-03-22 20:04:35 +00:00
Matthew Wall
1c10bc5d16
forgot some helper functions for the gradients
2013-03-22 19:46:58 +00:00