Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
35 views

Julia 1.11.7 (Also tried in 1.10.1) on Linux. Plots v1.41.1 using Plots; gr() titles = hcat(["X "*string(x) for x in collect(15:-1:8)'], ["X "*string(x) for x in collect(0:7)']) ...
Jen-Feng Hsu's user avatar
0 votes
1 answer
149 views

It seems accessing axis is easy with fig, ((ax1, ax2,ax3,ax4)) = plt.subplots(2, 4,figsize=(10,8),layout='tight') subfigs = fig.subfigures(2, 4) For example, if I want the ticks (labeling too) on the ...
Spin's user avatar
  • 1
1 vote
1 answer
146 views

I am trying to create a figure with three subplots. The bottom left subplot is supposed to be a 2D histogram with projections on the top and right sides. The 2D histogram is supposed to be square (...
Raphael_Ratz's user avatar
0 votes
1 answer
71 views

I'm trying to vizualize simulation results with a figure containing 2 subplots using matplotlib pyplot. Both should contain animation: one uses netgraph library (it's a graph with nodes showing flows ...
carpediem's user avatar
  • 481
0 votes
2 answers
56 views

I am trying to make a plot where I just want some distance between the first and second set of plots. Basically when you plot below, you can see the y-axis values off ax5 and ax7 there that is where I ...
James Lane's user avatar
1 vote
1 answer
58 views

I've been dealing with Python for the last few months and it still a little bit irritate me :) But hope someone can explain how to plot some subplots from dataframe grouped by 2 columns using ...
Nakira 's user avatar
0 votes
1 answer
50 views

I am trying to create a secondary axis for my plot. I can get all of my lines to plot on the graph (y1 to y14) and all y values are in the same units. The conversion to a secondary unit is essentially ...
Kray's user avatar
  • 51
0 votes
1 answer
43 views

I have a large dataframe that I need to make and annotate subplots from, see below. Everything seems ok, I still have some work to do on the x and y ticks but otherwise it seems pretty right, except, ...
Greg Gollaher's user avatar
0 votes
1 answer
35 views

I have created a 2 plot subplot. Selecting the range in both subplots works fine. Clicking into the upper subplot (the zoomed plot) shifts both views fine, but when clicking in the lower (total view) ...
GvTT's user avatar
  • 13
0 votes
1 answer
144 views

I want to create a plot with 2 columns, with the 1st one has only 1 plot and the 2nd one has 3. I try to set it up by using the following code import matplotlib.pyplot as plt def format_axes(fig): ...
bored af's user avatar
0 votes
0 answers
62 views

I Have an error when I try to run this code import pandas as pd import numpy as np import seaborn as sns %matplotlib inline import matplotlib.pyplot as plt from matplotlib.cm import ScalarMappable ...
lokalhangatt's user avatar
0 votes
1 answer
88 views

Using this code to create and save a subplot automatically (in a for loop) is not working and throwing up an error I don't understand: clear clc close all %---------------------------- x1 = 1:0.01:3; ...
user2587726's user avatar
0 votes
2 answers
100 views

I’m trying to display three images of different sizes side-by-side using Matplotlib. I want each subplot to maintain the original size of the images without auto scaling them to be the same size. ...
Max H's user avatar
  • 3
1 vote
1 answer
57 views

Hi i have a dataframe called metrics which has 2 rows × 31 columns. I am plotting a graph using this: unit_ids = sorting_rec.unit_ids plt.figure(figsize=(12, 8)) sw.plot_unit_templates(we, unit_ids=...
Kshtj's user avatar
  • 109
0 votes
0 answers
85 views

Is there a way to change the vertical/horizontal spacing between subplots in an existing figure? I couldn't find anything in the docs or user forum, and the following throws a Bad property error: ...
Jon Nir's user avatar
  • 593
0 votes
1 answer
42 views

I am creating a 6 panel subplot with each plot showing a different time step for my data. I am having trouble creating a loop that plots each time into one of the panels. I have been able to produce ...
franke11's user avatar
0 votes
1 answer
70 views

I have a lot of data with categorical variables that has a lot of levels. This gives me some difficulty plotting them, especially when I put them into Rmarkdown. I am trying to figure out how to best ...
EnFiFa's user avatar
  • 65
2 votes
2 answers
84 views

I have made a subplot in matplotlib and managed to to put the different cmap I have on the same column. For a minimal working example (with dummy cmaps): import matplotlib.pyplot as plt import numpy ...
Chris Ze Third's user avatar
1 vote
0 answers
51 views

I am having trouble using the sharex=True when I create two graphs with seaborn that should share the same horizontal axis. I have my example hereafter and even with sharex=False I get a warning that ...
Newbielp's user avatar
  • 532
1 vote
1 answer
613 views

Hi i would like to Show side by side diagrams from SHAP Library: Waterfall Diagram :API Reference https://shap.readthedocs.io/en/latest/generated/shap.plots.waterfall.html#shap.plots.waterfall Bar ...
Jack's user avatar
  • 13
1 vote
1 answer
48 views

I'm trying to optimize example (https://matplotlib.org/stable/gallery/widgets/check_buttons.html) for my task in a small project. I have an example that works: from PyQt5.QtWidgets import QApplication ...
Ilya Belov's user avatar
0 votes
0 answers
36 views

Can someone tell me what I need to do to change the padding within the boundary of a subplot in Julia? Just need to know how to make the border larger so the 8 doesn't overlap for example in this mwe: ...
sarl's user avatar
  • 23
-2 votes
2 answers
67 views

When trying to plot the following code I got 4 graphs but the percentage shows in only in the last graph. fig, axes =plt.subplots(12,2,figsize=(12,50)) plt.subplots_adjust(wspace=0.9, hspace=0.9) i=0 ...
Manish Patel's user avatar
2 votes
1 answer
510 views

How do I remove the gaps between the subplots on a mosaic? The traditional way does not work with mosaics: plt.subplots_adjust(wspace=0, hspace=0) I also tried using gridspec_kw, but no luck. import ...
ruthpozuelo's user avatar
0 votes
1 answer
1k views

How is it possible to manipulate the spacing between rows(e.g. increasing the space between fist two rows and final two rows) and the size of charts inside the figure (e.g. making pie chart bigger)? ...
Tohid's user avatar
  • 632

1
2 3 4 5
41