Skip to main content

All Questions

Filter by
Sorted by
Tagged with
4 votes
2 answers
354 views

Optimizing Multiple Subplot Visualization and Navigation in Matplotlib

I have implemented a class in Python using Matplotlib for visualizing multiple subplots along with navigation buttons to move between different subsets of data. Each subplot displays a contour plot ...
Cold Fire's user avatar
1 vote
1 answer
117 views

Create charts after querying database

I'm at the end of the IBM Data Analyst course, and I wanted to ask for a rating of a piece of code I wrote as a solution to its exercises from the final chapter. I know I could write it on the forum ...
kkkkrkrkkk's user avatar
2 votes
0 answers
826 views

Python fractal tree generators

I wrote the scripts several days ago, they do exactly what I intended, but the performance is not very good, I am still stuck on for loops and don't know how to vectorize things, I wrote both scripts ...
Ξένη Γήινος's user avatar
3 votes
1 answer
1k views

Colored bar plots with confidence intervals

I needed to create a bar plot that show: the mean from some series; them 95% confidence interval; and, bars might be colored blue if they are definitely above this value (given the confidence ...
GregOliveira's user avatar
1 vote
0 answers
332 views

A collection of Python functions that fill a given region with rectangles

These are what I was working on in the last few days, I wrote a bunch of functions that fill a given region with rectangles of different colors. The functions can: Randomly split a region into sub ...
Ξένη Γήινος's user avatar
6 votes
1 answer
396 views

Compute and plot a 2D vector field with radial symmetry in Python

I computed a 2D vector field \$\mathbf{U} = (u(x,y), v(x,y))\$ with radial symmetry, parametrized as \$(u,v) = a(r) (x,y) + b(r) (-y,x)\$, where \$a(r), b(r)\$ are given as solution of an IVP which I ...
Max's user avatar
  • 211
7 votes
1 answer
235 views

A Python 3 script that generates art using matplotlib

I am always super interested in both science and art, science and art are two different ways to describe the objective reality, they are two sides of the same coin, in many areas they overlap, and ...
Ξένη Γήινος's user avatar
1 vote
1 answer
104 views

Demonstrate the central limit theorem

I am new to Python, so I am interested in knowing if I am efficiently using Python for this project. This program is meant to simulate the Central Limit Theorem. It uses sliders to adjust the number ...
Abstract Acumen's user avatar
5 votes
1 answer
5k views

Tkinter GUI for running HPLC pumps, real-time data visualization

What I made I used Tkinter to write a GUI to run some HPLC pumps for my work. The application sends some messages to the pumps via serial connections, reads a response, then logs data to a csv file. ...
teauxfu's user avatar
  • 83
2 votes
1 answer
941 views

Forex Simulator in Python using pandas and matplotlib

Description: This would make a first part of a currency exchange simulator The first phase includes downloading currency historical data from histdata.com api, plotting given period and given time ...
watch-this's user avatar
12 votes
1 answer
4k views

Predator-prey simulation

I made a random-walk predator-prey simulation that focuses on individual animals instead of the (maybe) more common array-based approach. I'd like to hear your opinion about this: how could the ...
Neinstein's user avatar
  • 405
5 votes
1 answer
232 views

Code to plot graphs with multiple panels efficiently

I quite often plot graphs looking at how some property or function varies with different parameters. Normally, I find the analysis code can be written fairly succinctly and separated into a suitable ...
FChm's user avatar
  • 153
4 votes
1 answer
82 views

Function that plots data frames, supporting several variants

I defined a function that generates tables and creates countplots and barplots based on the arguments that it receives. But the snippets of code inside the function are repeated several times, which ...
luminare's user avatar
  • 141
4 votes
1 answer
650 views

Plot random generated 'n' non-colliding circles using Matplotlib

I have a function which plots n randomly generated non-colliding circles. The circle is a Circle object, part of ...
Redsbefall's user avatar
  • 1,212
6 votes
1 answer
1k views

3-D plot of rectangular surface using matplotlib

I have made a 3D mesh. See below: And the code below: ...
riflab's user avatar
  • 61

15 30 50 per page