Skip to main content
0 votes
1 answer
43 views

I'm trying to display labels in a 3D plot. My final goal is to display a tiny version of an image/texture at the coordinates of its average color in Lab space. After multiple failed attempts, I ...
herhor67's user avatar
  • 119
1 vote
1 answer
28 views

While using the following code: from matplotlib import pyplot from sarpy.visualization.remap import Density from sarpy.io.product.converter import open_product from sarpy.io.complex.converter import ...
Przemysław Bezeg's user avatar
0 votes
1 answer
54 views

I made a shapefile containing the boundaries of all the worlds countries and some of their regions (like the states in the US, Canadian provinces, etc). I've been trying to set a boundary box of my ...
Gabe Mathews's user avatar
4 votes
1 answer
79 views

I want to create a class that will create updateable plots. I plan on having 8-16 figures in one window, so it would be nice to have a class that would initiate these for me. These graphs will auto-...
Deepolisnoob's user avatar
-3 votes
0 answers
49 views

I am currently creating figures with one or more imshow plots. I would like to get a native plot of one of those imshow plots. To my understanding I would need to calculate the figure size, with ...
FordPrefect's user avatar
2 votes
1 answer
31 views

I am creating a dashboard using matplotlib. The following is my python3 code. When I minimize the matplotlib plot window, the window jumps back up and the window does not stay minimized. What should I ...
pikachu's user avatar
  • 21
-2 votes
0 answers
28 views

I have a 2D array of integer data that I am plotting with matplotlib's axes interface (not the pyplot interface). When I use ax.imshow I get the plot I am looking for. The built in colorizer handles ...
DBS4261's user avatar
  • 526
1 vote
1 answer
51 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
Best practices
2 votes
4 replies
54 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
68 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,406
1 vote
1 answer
116 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
88 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
  • 546
1 vote
1 answer
52 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
74 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

15 30 50 per page
1
2 3 4 5
4856