I am working on a project that has some graphs that I want to place in specific positions, and I am doing so by using code configurations like
grid = gridspec.GridSpec(2, 2)
inner = gridspec.GridSpecFromSubplotSpec(3, 2, subplot_spec=grid[1, 1], height_ratios=[1, 2, 1])
inner2 = gridspec.GridSpecFromSubplotSpec(2, 2, subplot_spec=inner[1, 0])
graph = plt.subplot(inner2)
I had reached a point that everything look good and neat, then I did some code changes, and reached a point that all the graphs was meshed up and overlapping each other. I double checked the code and found no flaws, and then I tried to run the same code not in SciView but on the default matplotlib window. And all the graphs was correctly positioned!
I think that in the mean while the PyCharm program updated from PY-183.4284.139 to PY-183.4588.64
I figured out by testing, that the sciView applies fig.tight_layout() without me having that command on the code. I think there is where problem originate, because when I add plt.tight_layout() on the code the matplotlib windows shows the graphs as the same mesh overlapping each other as well. So is there any control on whether the SciView applies tight_layout() or not?