@@ -31,7 +31,11 @@ def get_demo_image():
31
31
origin = "lower" )
32
32
33
33
# inset axes....
34
+ < << << << HEAD
34
35
axins = ax .inset_axes_rect ([0.5 , 0.5 , 0.47 , 0.47 ])
36
+ == == == =
37
+ axins = ax .inset_axes ([0.5 , 0.5 , 0.47 , 0.47 ])
38
+ > >> >> >> 97 a72b10a ... DOC : add inset axes example
35
39
axins .imshow (Z2 , extent = extent , interpolation = "nearest" ,
36
40
origin = "lower" )
37
41
# sub region of the original image
@@ -41,7 +45,11 @@ def get_demo_image():
41
45
axins .set_xticklabels ('' )
42
46
axins .set_yticklabels ('' )
43
47
48
+ < << << << HEAD
44
49
ax .zoom_inset_indicator (axins )
50
+ == == == =
51
+ ax .zoom_inset_rectangle (axins )
52
+ > >> >> >> 97 a72b10a ... DOC : add inset axes example
45
53
46
54
plt .show ()
47
55
@@ -55,6 +63,11 @@ def get_demo_image():
55
63
# The use of the following functions and methods is shown in this example:
56
64
57
65
import matplotlib
66
+ < << << << HEAD
58
67
matplotlib .axes .Axes .inset_axes_rect
59
68
matplotlib .axes .Axes .zoom_inset_indicator
69
+ == == == =
70
+ matplotlib .axes .Axes .inset_axes
71
+ matplotlib .axes .Axes .zoom_inset_rectangle
72
+ > >> >> >> 97 a72b10a ... DOC : add inset axes example
60
73
matplotlib .axes .Axes .imshow
0 commit comments