回答編集履歴
2
修正
test
CHANGED
@@ -62,6 +62,10 @@
|
|
62
62
|
|
63
63
|
fig, ax = plt.subplots(figsize=(w_inch, h_inch))
|
64
64
|
|
65
|
+
fig.subplots_adjust(left=0, right=1, top=1, bottom=0) # 図の周りの余白削除
|
66
|
+
|
67
|
+
ax.set_axis_off() # xy の目盛り軸削除
|
68
|
+
|
65
69
|
|
66
70
|
|
67
71
|
roadshape = 'filename.shp'
|
1
修正
test
CHANGED
@@ -78,6 +78,6 @@
|
|
78
78
|
|
79
79
|
img = Image.open(out)
|
80
80
|
|
81
|
-
img.save('
|
81
|
+
img.save('sample.tiff')
|
82
82
|
|
83
83
|
```
|