File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +15
-12
lines changed
Original file line number Diff line number Diff line change 1
1
"""
2
- Classes for the ticks and x and y axis
2
+ Classes for the ticks and x and y axis.
3
3
"""
4
4
5
5
import datetime
33
33
34
34
class Tick (martist .Artist ):
35
35
"""
36
- Abstract base class for the axis ticks, grid lines and labels
36
+ Abstract base class for the axis ticks, grid lines and labels.
37
37
38
- 1 refers to the bottom of the plot for xticks and the left for yticks
39
- 2 refers to the top of the plot for xticks and the right for yticks
38
+ Ticks mark a position on an Axis. They contain two lines as markers and
39
+ two labels; one each for the bottom and top positions (in case of an
40
+ `.XAxis`) or for the left and right positions (in case of a `.YAxis`).
40
41
41
42
Attributes
42
43
----------
43
- tick1line : Line2D
44
+ tick1line : `.Line2D`
45
+ The left/bottom tick marker.
46
+ tick2line : `.Line2D`
47
+ The right/top tick marker.
48
+ gridline : `.Line2D`
49
+ The grid line associated with the label position.
50
+ label1 : `.Text`
51
+ The left/bottom tick label.
52
+ label2 : `.Text`
53
+ The right/top tick label.
44
54
45
- tick2line : Line2D
46
-
47
- gridline : Line2D
48
-
49
- label1 : Text
50
-
51
- label2 : Text
52
55
"""
53
56
def __init__ (self , axes , loc , label ,
54
57
size = None , # points
You can’t perform that action at this time.
0 commit comments