@@ -138,7 +138,7 @@ def __init__(self,config=None,config_file=None,reference=None,genes_file=None,ch
138
138
t ["genes_file" ] = self .genes_file
139
139
self .tracks_list .append (ase_track (** t ))
140
140
else :
141
- pass
141
+ print ( "WARNING: unrecognized track type: " + str ( t ))
142
142
143
143
self .figure_layout = config ["general" ]["layout" ]
144
144
self .output = None
@@ -256,7 +256,7 @@ def draw_horizontal(self,file,width=183,dpi=150,transparent=False):
256
256
current_height += t .height + t .margin_above
257
257
plt .axis ('off' )
258
258
#fig.savefig(outfile,bbox_inches="tight",pad_inches=0.0,dpi=dpi)
259
- plt .tight_layout (pad = 0 )
259
+ plt .tight_layout (pad = 0.1 )
260
260
fig .savefig (file ,dpi = dpi ,transparent = transparent )
261
261
plt .cla ()
262
262
plt .clf ()
@@ -292,7 +292,7 @@ def draw_stacked(self,file,width=183,dpi=150,transparent=False):
292
292
current_height += t .height + t .margin_above
293
293
plt .axis ('off' )
294
294
#fig.savefig(outfile,bbox_inches="tight",pad_inches=0.0,dpi=dpi)
295
- plt .tight_layout (pad = 0 )
295
+ plt .tight_layout (pad = 0.1 )
296
296
fig .savefig (file ,dpi = dpi ,transparent = transparent )
297
297
plt .cla ()
298
298
plt .clf ()
@@ -337,7 +337,7 @@ def draw_symmetrical(self,file,width=183,dpi=150,transparent=False):
337
337
338
338
current_height += t .height
339
339
plt .axis ('off' )
340
- plt .tight_layout (pad = 0 )
340
+ plt .tight_layout (pad = 0.1 )
341
341
fig .savefig (file ,dpi = dpi ,transparent = transparent )
342
342
plt .cla ()
343
343
plt .clf ()
@@ -383,7 +383,7 @@ def draw_circular(self,file,width=183,dpi=150,transparent=False):
383
383
plt .axis ('off' )
384
384
ax .set_rmin (0 )
385
385
ax .set_rmax (current_r )
386
- plt .tight_layout (pad = 0 )
386
+ plt .tight_layout (pad = 0.1 )
387
387
fig .savefig (file ,dpi = dpi ,transparent = transparent )
388
388
plt .cla ()
389
389
plt .clf ()
0 commit comments