Linked Questions
45 questions linked to/from Matplotlib different size subplots
10
votes
3
answers
25k
views
Different size subplots in matplotlib [duplicate]
I have 4 subplots, i achieve to plot 3 subplots on 1 line but i can t add an other plot on a second line which must have the same width of the 3 figures.
The first 3 figures :
The second figure, i ...
7
votes
2
answers
15k
views
Creating two subplots with different sizes [duplicate]
I have a script which is creating one or two charts, depending on if one specific condition is met or not. Really basically, what I am doing so far is the following:
import matplotlib.pyplot as plt
...
0
votes
1
answer
13k
views
How to change the size of a plot/graph in python [duplicate]
I would like to change the size of a graph (with multiple plots) in python to make it larger. using 'plt.figure(figsize=(6,3))' for example makes a new graph of a different size but its empty with ...
1
vote
1
answer
3k
views
Python: Merge subplot over two subplotcells in matplotlib or with other libaries [duplicate]
Based on this article of multiple subplots on matplotlib with python, it is very easy to create subplots in form of an 2x2-matrix for example. With the code from example 4 I can get the supblots of ...
-1
votes
1
answer
2k
views
add.subplot() - How to make grid with two rows with different number of columns [duplicate]
I would like to plot a composite figure over two rows with one entry on the top row and two on the bottom row, with each subplot having the same aspect ratio. How can this be done?
1
vote
1
answer
1k
views
How do I reduce the height of the bottom subplot in matplotlib? [duplicate]
I have the following code:
fig = plt.figure(figsize = (16,9))
ax1 = plt.subplot(3, 2, 1)
ax2 = plt.subplot(3, 2, 2)
ax3 = plt.subplot(3, 2, 3)
ax4 = plt.subplot(3, 2, 4)
ax5 = plt.subplot(3, 1, 3)
...
4
votes
2
answers
76
views
Subplot four-pack under another subplot the size of the four-pack [duplicate]
I want to make a matplotlib figure that has two components:
A 2x2 "four pack" of subplots in the lower half of the figure
A subplot above the four pack that is the size of the four pack.
I ...
0
votes
3
answers
143
views
Matplotlib One plot side with multiple subplot [duplicate]
I am trying to plot some graphs, I want it to look like that, and do it in python.
I tried many things but it looks way uglier than what I want to achieve, any help would be appreciated
2
votes
1
answer
356
views
Python Figure with different sizes [duplicate]
I would like to make a figure which looks like the image below.
I have seen one post which did something similar with subplot (shown below) but I cannot adapt it to this specific design.
Help would be ...
0
votes
0
answers
235
views
Matplotlib: resize a plot consisting of two side by side image subplots in Jupyter cell [duplicate]
The existing solution How do I change the figure size with subplots? does not answer my question.
fig, axs = plt.subplots(2, 2, figsize=(15, 15)) # Does not work in my case!
Other answers in my case ...
0
votes
1
answer
151
views
How, for one plot only, to change the width with Seaborn/Matplotlib [duplicate]
This code creates following PNG file though, This wasn't what I want.
import seaborn as sns
import matplotlib.pyplot as plt
fig, ax = plt.subplots(2,figsize=(20, 6),gridspec_kw={'height_ratios': [2,1]...
1
vote
1
answer
118
views
Change size of subplot that are on the same axis [duplicate]
I have created a plot that contains two plots within the same axis similar to this: https://matplotlib.org/1.5.1/examples/pylab_examples/ganged_plots.html
fig = plt.figure()
ax1 = fig.add_axes([0.1, ...
0
votes
0
answers
104
views
Specify the height of a subplot in a multiple subplot matplotlib in Jupyter [duplicate]
I have a chart in matplotlib which uses two subplots.
Code is as follows:
# Chart
chart_data['whisker'] = chart_data['high'] - chart_data['low']
%matplotlib inline
fig, axs = plt.subplots(2, 1, ...
-1
votes
1
answer
79
views
Manually Managing Axes on python [duplicate]
I was trying to achieve this
But i ended with this
The main idea was to manage axes to include the third subplot in the figure, but i can't find a way to do it. Can somebody help with that please.
...
0
votes
0
answers
57
views
Breaking a plot into subplots [duplicate]
I need to break a plot into four subplots. Consider the following code:
import numpy as np
import matplotlib.pyplot as plt
MM= [[0, 1], [1, 0], [14, 15], [15, 14], [67, 68], [68, 67], [72,
73], [73,...