Skip to content

Commit 08c212d

Browse files
authored
Merge pull request #4 from pyobs/develop
v1.1.2
2 parents 5e8a043 + c26f4fa commit 08c212d

File tree

6 files changed

+14
-6
lines changed

6 files changed

+14
-6
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,7 @@ In a fresh setup, you can restore the data via the 'loaddata' command:
145145
- Added plot for solar elevation and good weather for last 24h
146146

147147
#### version 1.1.1 (2020-11-24)
148-
- Fixed bug with update of plots.
148+
- Fixed bug with update of plots.
149+
150+
### version xxx
151+
- Disabled animations for plots

pyobs_weather/api/views.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ def history(request, sensor_type):
169169
'code': sensor.station.code,
170170
'name': sensor.station.name,
171171
'color': sensor.station.color,
172-
'data': list(values),
173-
'areas': areas
172+
'data': list(values)
174173
})
175174

176175
return JsonResponse({'stations': stations, 'areas': areas}, safe=False)

pyobs_weather/frontend/static/frontend/css/styles.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,6 @@ footer {
112112
margin-top: -40px; /* negative value of footer height */
113113
height: 40px;
114114
clear: both;
115-
padding-top: 0.5em
115+
padding-top: 0.5em;
116+
font-size: smaller;
116117
}

pyobs_weather/frontend/static/frontend/js/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ function plot(canvas) {
7575
datasets: plotData
7676
},
7777
options: {
78+
animation: {
79+
duration: 0
80+
},
7881
scales: {
7982
bounds: 'ticks',
8083
xAxes: [{

pyobs_weather/frontend/templates/base.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@
6161
</div>
6262

6363
<footer>
64-
pyobs-weather v{% version %} (<a href="https://github.com/pyobs/pyobs-weather">GitHub</a>)
64+
pyobs-weather v{% version %}
65+
(<a href="https://github.com/pyobs/pyobs-weather">GitHub</a>,
66+
<a href="https://hub.docker.com/repository/docker/thusser/pyobs-weather">Docker</a>)
6567
by <a href="mailto:[email protected]">Tim-Oliver Husser</a>
6668
</footer>
6769

pyobs_weather/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '1.1.1'
1+
VERSION = '1.1.2'

0 commit comments

Comments
 (0)