File tree 2 files changed +9
-10
lines changed 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 5
5
6
6
Test unit support with each of the Matplotlib primitive artist types.
7
7
8
- The axis handles unit conversions and the artists keep a pointer to
9
- their axis parent, so you must initialize the artists with the axis instance
10
- if you want to use them with unit data, or else they will not
11
- know how to convert the units to scalars.
8
+ The axis handles unit conversions and the artists keep a pointer to their axis
9
+ parent. You must initialize the artists with the axis instance if you want to
10
+ use them with unit data, or else they will not know how to convert the units
11
+ to scalars.
12
12
"""
13
13
import random
14
14
import matplotlib .lines as lines
Original file line number Diff line number Diff line change 3
3
Bar demo with units
4
4
===================
5
5
6
- A plot using a variety of centimetre vs inches conversions. This example shows
7
- how default unit introspection works (ax1), how various keywords can
8
- be used to set the x and y units to override the defaults (ax2, ax3,
9
- ax4) and how one can set the xlimits using scalars (ax3, current units
10
- assumed) or units (conversions applied to get the numbers to current
11
- units).
6
+ A plot using a variety of centimetre and inch conversions. This example shows
7
+ how default unit introspection works (ax1), how various keywords can be used to
8
+ set the x and y units to override the defaults (ax2, ax3, ax4) and how one can
9
+ set the xlimits using scalars (ax3, current units assumed) or units
10
+ (conversions applied to get the numbers to current units).
12
11
13
12
"""
14
13
import numpy as np
You can’t perform that action at this time.
0 commit comments