mirror of
https://github.com/weewx/weewx.git
synced 2026-05-19 07:15:18 -04:00
Deleted x_label_spacing and y_label_spacing.
They are a "per plot," not "per line," basis.
This commit is contained in:
@@ -216,10 +216,6 @@ class ImageGenerator(weewx.reportengine.ReportGenerator):
|
||||
marker_type = line_options.get('marker_type')
|
||||
marker_size = to_int(line_options.get('marker_size', 8))
|
||||
|
||||
# Get the spacings between labels, i.e. every how many lines a label is drawn
|
||||
x_label_spacing = plot_options.get('x_label_spacing', 2)
|
||||
y_label_spacing = plot_options.get('y_label_spacing', 2)
|
||||
|
||||
# Add the line to the emerging plot:
|
||||
plot.addLine(weeplot.genplot.PlotLine(
|
||||
new_stop_vec_t[0], new_data_vec_t[0],
|
||||
@@ -233,9 +229,7 @@ class ImageGenerator(weewx.reportengine.ReportGenerator):
|
||||
marker_size = marker_size,
|
||||
bar_width = interval_vec,
|
||||
vector_rotate = vector_rotate,
|
||||
gap_fraction = gap_fraction,
|
||||
x_label_spacing = x_label_spacing,
|
||||
y_label_spacing = y_label_spacing))
|
||||
gap_fraction = gap_fraction))
|
||||
|
||||
# OK, the plot is ready. Render it onto an image
|
||||
image = plot.render()
|
||||
|
||||
Reference in New Issue
Block a user