Commit Graph

53 Commits

Author SHA1 Message Date
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
Matthew Wall
38b7c2098a added gradients to daynight transitions. fixed daynight transition bug. 2013-03-22 18:46:41 +00:00
Tom Keffer
8a81da069a Updated docs.
V2.2.0a1
2013-01-19 21:46:17 +00:00
Tom Keffer
16c0d225f4 Use attribute self.stn_info for lat/lon information.
Changed function parameter ordering to lat/lon.
Added doctests for function tobool(). Moved it to weeutil.weeutil
Presently crashes if sunset is after midnight UTC.
2013-01-18 19:27:04 +00:00
Tom Keffer
912f20760f Applied day-night patch from Matthew Wall. Images show a different color for nighttime. 2013-01-18 18:16:16 +00:00
Tom Keffer
61ec809b2e Added the ability to specify color using the notations #RRGGBB or an English descriptor (eg, 'yellow'). 2013-01-18 04:21:29 +00:00
Tom Keffer
6339c841d7 Added the ability to specify the "maximum gap" in a plot as a fraction of the x-axis scale. If the data contains a gap bigger than this amount, no connecting line will be drawn. Contributed by M. Wall. 2013-01-12 02:58:07 +00:00
Tom Keffer
3760462394 Added Matthew Wall's patch that allows optional bar chart fill colors.
V2.1.0b2
2013-01-02 02:24:26 +00:00
Tom Keffer
01b4e95909 Catch up with main trunk version 1.13.2 2012-06-12 14:43:31 +00:00
Tom Keffer
8615d0f362 Moved get_font_handle 2012-04-16 00:42:52 +00:00
Tom Keffer
6380e07838 Fixed problem with default line colors. 2012-03-26 01:02:35 +00:00
Tom Keffer
ea6e691174 Added finer control over the line plots. Can now add optional markers. The
marker_type  can be  'none' (the  default),  'cross', 'box',  'circle', or  'x'.
Also, line_type can  now either be 'solid' (the default)  or 'none' (for scatter
plots).
2012-03-16 01:13:55 +00:00
Tom Keffer
2eb2e7a447 Added scatter plots to weeplot utilities.
Simplified some of the logic in weeplot.
2012-03-14 23:30:39 +00:00
Tom Keffer
647bcbe67e Snapshot. Adding testing of generation from templates 2011-02-13 15:55:33 +00:00