Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
43 views

I am trying to plot some data from a Markov Chain Monte Carlo run, using getDist, which (I assume) uses matplotlib under the hood for plotting. There is no error message or anything, and it produces a ...
kalle's user avatar
  • 197
0 votes
0 answers
90 views

Im trying to plot a 3D trajectory (predicted vs ground truth) but something feels wrong, i managed to get right graphs X,Y,Z in seperate graphs , with respect to time (just seq nums basically) with ...
Destr's user avatar
  • 9
Best practices
1 vote
3 replies
36 views

I am performing Exploratory Data Analysis (EDA) on a medical dataset (Primary Biliary Cirrhosis) to select features for a multiclass classification model. My target variable is Stage (1, 2, 3, 4). The ...
DJTrevor Philips's user avatar
Tooling
0 votes
3 replies
46 views

What I want to achieve is something as below: I have found the brokenaxes package here, and tried it: from brokenaxes import brokenaxes import numpy as np bax = brokenaxes(xlims=((0, 10), (195, 200))...
Explorer's user avatar
  • 117
1 vote
1 answer
61 views

I am stuck after displaying using matplotlib because I can not seem to figure out what code to use to continue after using matplotlib. Specifically, I use: plt.figure(figsize=[10, 10]) plt.title(&...
user3236841's user avatar
  • 1,408
-4 votes
0 answers
34 views

I am conducting an analysis of the impulse response of a system model using statmodels VAR.irf. Method VARResults.irf.plot returns a matplotlib.figure.Figure type object. I want to put several such ...
Mike Winny's user avatar
-1 votes
0 answers
71 views

In my plot, I am getting plot markers that are both circles and ellipses. I have generated previous plots using analogous code and get circles only, as desired. I tried ax.axis("equal") and ...
BigHeadEd's user avatar
1 vote
1 answer
109 views

I'm writing a Python code that's supposed to create a graph and export it as a vector PDF file. I'm using Jupyter Lite at jupyter.org. I've successfully created the graph, but when I try to export it ...
Rain's user avatar
  • 121
1 vote
2 answers
81 views

Why does matplotlib round to the nearest month sometimes and not other times depending on the order lines are plotted and which dates are used. ax3 and ax4 are particularly interesting because they ...
Brandon's user avatar
  • 542
1 vote
1 answer
51 views

I'm making a protein secondary structure plot, at first with trivial data: import matplotlib.pyplot as plt fig, ax0 = plt.subplots(1,1, layout = "constrained") from matplotlib.colors import ...
con's user avatar
  • 6,247
0 votes
1 answer
73 views

I find the coordinates shown below (in the form: (x, y) [z]) very useful for interacting with the data. Unfortunately, librosa.display.specshow does not show the value at (x, y), rather, only the ...
egaznep's user avatar
  • 33
2 votes
1 answer
93 views

I struggle with typechecks using matplotlib.pyplot.subplot_mosaic. I have create the following fuction, which generates the mosaic pattern and the per_subplot_kw: def create_mosaic(num_rows): def ...
MaKaNu's user avatar
  • 1,108
Advice
0 votes
2 replies
58 views

A synopsis of my code. import matplotlib.pyplot as plt import shapely.plotting from shapely.geometry import Polygon facing = 'north' shape = 'triangle' polygon = Polygon(((1, 17), (9, 1), (17,...
snow6oy's user avatar
  • 716
0 votes
1 answer
56 views

I made a "gauge" image using the following code: taux = 91 # Plot fig, ax = plt.subplots(figsize=(7.5,5), subplot_kw=dict(polar=True)) ax.set_theta_zero_location("W") ...
YamiOmar88's user avatar
  • 1,496
1 vote
1 answer
86 views

I've been trying to set equal data aspect ratios in matplotlib with ax.set_aspect('equal', 'datalim') (aka ax.axis('equal')), while preserving lower bounds/limits, aka anchoring one side of the data ...
casblaauw's user avatar

15 30 50 per page
1
2 3 4 5
4857