@@ -80,7 +80,7 @@ def bullseye_plot(ax, data, seg_bold=None, cmap=None, norm=None):
8080 # First segment start at 60 degrees
8181 theta0 = theta [i * 128 :i * 128 + 128 ] + np .deg2rad (60 )
8282 theta0 = np .repeat (theta0 [:, np .newaxis ], 2 , axis = 1 )
83- z = np .ones ((128 , 2 )) * data [i ]
83+ z = np .ones ((128 - 1 , 2 - 1 )) * data [i ]
8484 ax .pcolormesh (theta0 , r0 , z , cmap = cmap , norm = norm , shading = 'auto' )
8585 if i + 1 in seg_bold :
8686 ax .plot (theta0 , r0 , '-k' , lw = linewidth + 2 )
@@ -94,7 +94,7 @@ def bullseye_plot(ax, data, seg_bold=None, cmap=None, norm=None):
9494 # First segment start at 60 degrees
9595 theta0 = theta [i * 128 :i * 128 + 128 ] + np .deg2rad (60 )
9696 theta0 = np .repeat (theta0 [:, np .newaxis ], 2 , axis = 1 )
97- z = np .ones ((128 , 2 )) * data [i + 6 ]
97+ z = np .ones ((128 - 1 , 2 - 1 )) * data [i + 6 ]
9898 ax .pcolormesh (theta0 , r0 , z , cmap = cmap , norm = norm , shading = 'auto' )
9999 if i + 7 in seg_bold :
100100 ax .plot (theta0 , r0 , '-k' , lw = linewidth + 2 )
@@ -108,7 +108,7 @@ def bullseye_plot(ax, data, seg_bold=None, cmap=None, norm=None):
108108 # First segment start at 45 degrees
109109 theta0 = theta [i * 192 :i * 192 + 192 ] + np .deg2rad (45 )
110110 theta0 = np .repeat (theta0 [:, np .newaxis ], 2 , axis = 1 )
111- z = np .ones ((192 , 2 )) * data [i + 12 ]
111+ z = np .ones ((192 - 1 , 2 - 1 )) * data [i + 12 ]
112112 ax .pcolormesh (theta0 , r0 , z , cmap = cmap , norm = norm , shading = 'auto' )
113113 if i + 13 in seg_bold :
114114 ax .plot (theta0 , r0 , '-k' , lw = linewidth + 2 )
@@ -120,7 +120,7 @@ def bullseye_plot(ax, data, seg_bold=None, cmap=None, norm=None):
120120 r0 = np .array ([0 , r [0 ]])
121121 r0 = np .repeat (r0 [:, np .newaxis ], theta .size , axis = 1 ).T
122122 theta0 = np .repeat (theta [:, np .newaxis ], 2 , axis = 1 )
123- z = np .ones ((theta .size , 2 )) * data [16 ]
123+ z = np .ones ((theta .size - 1 , 2 - 1 )) * data [16 ]
124124 ax .pcolormesh (theta0 , r0 , z , cmap = cmap , norm = norm , shading = 'auto' )
125125 if 17 in seg_bold :
126126 ax .plot (theta0 , r0 , '-k' , lw = linewidth + 2 )
0 commit comments