Skip to main content

Questions tagged [matplotlib]

Matplotlib is a plotting library for Python, built on NumPy and often used interactively with IPython. Its compact "pyplot" interface is similar to the plotting functions of MATLAB®.

6 votes
2 answers
124 views

I’ve written a small Python module to generate mock Slack workspace data, build a user–user interaction graph, and surface complementary collaborators based on skill sets. The key features are: Data ...
Bob's user avatar
  • 221
6 votes
1 answer
460 views

I've written a Python script to solve a system of coupled differential equations and then use the results to solve an eigenvalue problem. The full problem is: \$\frac{d^2}{dr^2} K(r) = \frac{K(r)}{r^2}...
Amirhossein Rezaei's user avatar
3 votes
1 answer
120 views

Based from the source code of the TwoSlopeNorm color normalization of matplotlib, I tried to implement a more general normalization that can handle any number of &...
mocquin's user avatar
  • 133
3 votes
1 answer
152 views

I have tried to improve my code with the suggestions I recieved in my old question about Collatz conjecture Here is the new code: ...
Lorenzo's user avatar
  • 157
4 votes
3 answers
758 views

I am writing a program to display the behavior or certain seeds when you apply the Collatz conjecture algorithm to them. I would like to know what I should change and also if there is a way to see ...
Lorenzo's user avatar
  • 157
4 votes
2 answers
370 views

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

So I have a large application that I've been writing. One part of that application is responsible for displaying images taken from a camera and plotting two graphs. I've successfully stripped out the ...
Michael's user avatar
  • 303
2 votes
1 answer
90 views

I've developed a Python script that simulates die rolls and analyses the results. I'm now looking to extend and modify this code for more complex data science tasks and simulations. Is this code ...
Attila Vajda's user avatar
2 votes
1 answer
121 views

I am implementing Simulated Annealing to the Travelling Salesman Problem, plotting a graph of temperature (x axis) and cost (y axis) and animating using cv2. ...
PuzzleheadedSoup-98's user avatar
1 vote
1 answer
58 views

I would like to improve the overall look and feel of the two log graphs generated by the Python code below. The first graph represents the optimized methods while the second graph represents the ...
Ruan's user avatar
  • 111
3 votes
1 answer
86 views

The following code simulates the (simplified) concept of evolution of cells. They can reproduce, grow older and have a fitness which modifies their chance of survival. Using matplotlib, graphs are ...
Dornteufel's user avatar
7 votes
2 answers
632 views

I have a csv file that looks like this: ...
Fang's user avatar
  • 617
2 votes
1 answer
251 views

I try to plot the correlation matrix of a Pandas DataFrame. As the diagonal elements are always ones, and the matrix is symmetrical, so I can get rid of most than a half of the squares without loosing ...
Arpad Horvath's user avatar
1 vote
1 answer
172 views

Preface: Before anyone suggest using pandas, no I don't want to use pandas, only pure python please. The concept of my code is quite simple, given some list of strings in a text file formatted as such ...
samman's user avatar
  • 491
1 vote
1 answer
64 views

This is a fun exercise that tries to answer the following question: if the elements from a square matrix are randomly chosen from 0 to 9, is it more like that the determinant would be even or odd? I'm ...
Maxwell's Daemon's user avatar

15 30 50 per page
1
2 3 4 5
12