Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
fdd8e152
Commit
fdd8e152
authored
Mar 03, 2014
by
kliment
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #494 from drf5n/patch-1
Update graph.py to 10s/div horizontal scale.
parents
528a9e83
38d19b93
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
graph.py
printrun/graph.py
+2
-2
No files found.
printrun/graph.py
View file @
fdd8e152
...
@@ -68,9 +68,9 @@ class Graph(BufferedCanvas):
...
@@ -68,9 +68,9 @@ class Graph(BufferedCanvas):
self
.
_ybounds
=
Graph
.
_YBounds
(
self
)
self
.
_ybounds
=
Graph
.
_YBounds
(
self
)
#If rescaley is set then ybars gives merely an estimate
#If rescaley is set then ybars gives merely an estimate
#Note that "bars" actually indicate the number of
grid _intervals_
#Note that "bars" actually indicate the number of
internal+external gridlines.
self
.
ybars
=
5
self
.
ybars
=
5
self
.
xbars
=
6
# One bar per 10 second
self
.
xbars
=
7
# One bar per 10 second
self
.
xsteps
=
60
# Covering 1 minute in the graph
self
.
xsteps
=
60
# Covering 1 minute in the graph
self
.
window
=
None
self
.
window
=
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment