Quantcast
Channel: Uncategorized - Matplotlib
Browsing latest articles
Browse All 61 View Live

Logo usage inquiry: Whom to contact?

Hi! I would like to show the matplotlib logo on my freelancer portfolio web site but could not find a policy on that. Whom can I contact? Best regards, Tilman 2 posts - 2 participants Read full topic

View Article


hieroglyphs and matplotlib

Hi everybody,I’d want to draw hieroglyphs in matplotlib.I have the code below but it only draws little rectangles rather than hieroglyphs. Thanks a lot for help. import matplotlib import...

View Article


Error when closing tkinter GUI with plots/sub-plots

Hello, I’m getting the below error every time i hit x to close the GUI… although i’m not explicitly calling any of the below methods/functions… thanks a lot! invalid command name “2951484352128update”...

View Article

Image may be NSFW.
Clik here to view.

Plot solid 3D surface on top of another one

Hello, I want to plot the red and the green sphere as two solid, three-dimensional objects in this minimal working example code: import matplotlib.pyplot as plt import numpy as np r = 0.05 fig =...

View Article

Matplotlib inline no longer default in Notebook?

Brand new computer. Fresh anaconda install (Python 3.12 and anaconda 2024.10-1). import numpy as np import matplotlib.pyplot as plt import matplotlib as mpl % matplotlib inline fig1,ax =...

View Article


Cannot make animation by using proplot

Hello, I want like to make an animation by reading the data for a 3d surface, plotting it and rotating the 3d plot as a function of time. I want to use proplot for the 3d plot. Here is a minimal...

View Article

Embedding multiple matplotlib animated plots on window using FigureCanvassTkAgg

I am creating a GUI for experimental data using Matplotlib; 2 animated data plots and 3 meters like speedometer gauges with moving needles. These widgets work fine on their own; the images fill their...

View Article

Image may be NSFW.
Clik here to view.

Legend with location set to 'best' collides with the title when the titles is...

Hi: I’m adjusting the y-position of a plot title. Then, I add a legend with loc set to ‘best’. However, the legend is placed on top of the title. The following code demonstrates the issue: import...

View Article


Trying to plot in PyCharm

trying to do a simple plt.show() in a PyCharm project/file, i am getting a tkinter error, which is not found . simple code: import pandas as pd import numpy as np import matplotlib import...

View Article


Image may be NSFW.
Clik here to view.

Multiple overlapping plots

I need to produce a plot with x and y axis fixed but multiple curves overlapped. (A family of up to 8 curves from a curve tracer where each represents a step in transistor base current. Each digitized...

View Article

Unable install matplotlib under windows 10 32 bits python version > 3.10

Unable to install matplotlib 10.0 under windows 10 32 bits python version > 3.10 require visualc++17 How to install visual-c++17 I have installed microsoft visual studio 2022 1 post - 1 participant...

View Article

Why minor xtick dont show up?

I run following codes, but minor xtick don’t show up correctly I am in matplotlib 3.10.1, python 3.12.2 import matplotlib from matplotlib import pyplot as plt from matplotlib import rc import numpy...

View Article

Permission to modify "matplotlib codes" for publications in a book or journal...

I am a book author. I plan to modify some “matplotlib codes” to generate some diagrams for my new educational book. Please advise if the following attribution statement is acceptable: License...

View Article


How to define a custom path effect / pencil stroke effect?

Hi! I have always liked the xkcd style in Matplotlib for informal visualizations. Now I am looking for a more “classy” variation of this, mimicking the look pencil strokes on paper (basically this:...

View Article

Image may be NSFW.
Clik here to view.

Typo on the website in differences between implicit and explicit interfaces

I have found a typo on the website here: Translating between the Axes interface and the pyplot. Here, the differences between Explicit “Axes” interface and Implicit “pyplot” interface are documented....

View Article


Image may be NSFW.
Clik here to view.

Mathplotlib 3d plot isn't perfectly square.

code: def get_random_unit_vector(): t = np.random.uniform(0.0, 2 * np.pi) sin_t, cos_t = np.sin(t), np.cos(t) z = np.random.uniform(-1.0, 1.0) z_height = np.sqrt(1.0 - z*z) return np.array([cos_t *...

View Article

Is there a way to "recursively" get all artists from a given Figure (in a...

Hi! I’m looking to find a way to easily get, for instance, all `Line2D` instance from a Figure, without having to check the kind of artist I get from fig.get_children(). I’m thinking of something like...

View Article


inscribed circle

import numpy as np import matplotlib.pyplot as plt from matplotlib.patches import Circle, Arc Set radius r=2 for better visibility r = 2.0 O = np.array([0.0, 0.0]) A = np.array([r, 0.0]) M =...

View Article

Locking aspect ratio

I want to have a 3D plot where aspect ratio is always equal for the 3 axes, so that angles and lengths are pose-independent. It’s easy enough to set this at a given point in time, with...

View Article

GSoC 2026 -Indirect Transforms Project - Monika Kumari

Hi everyone! I am Monika Kumari, a GSoC 2026 applicant interested in the Indirect Transforms project. Hi everyone! I am Monika Kumari, a GSoC 2026 applicant interested in the Indirect Transforms...

View Article

GSOC 2026 Contributor interested in contributing in Matplotlib

Hi everyone, I’m Rishabh Bhasin, a Python developer interested in contributing to Matplotlib for GSoC 2026. I’ve been using Matplotlib extensively in my data analysis projects and recently submitted...

View Article


GSoC 2026 Introduction & Guidance Request: Vikash Kumar

Hi everyone What do you use Matplotlib for? What sorts of visualizations do you make? Any specific domain? I’m a third-year Electronics Engineering student at VJTI Mumbai with a minor in Data Science....

View Article


How should PyInstaller handle MPLCONFIGDIR?

Hello, I’m looking for some advice as to whether or not I should accept a PR to stop PyInstaller from redirecting MPLCONFIGDIR to a temporary directory. (For those who don’t know, PyInstaller is one...

View Article

GSoC 2026: Seeking guidance for contributing to matplotlib animations

Hi everyone, I’m Kumar, a third-year BTech student in Data Science, interested in contributing to matplotlib for GSoC 2026. I have recently started contributing and submitted a PR improving the...

View Article

Review Request for PR #31488

Hii mentors, All checks are now passing for the review #31488. I’d really appreciate it if someone could review the implementation and share feedback. Thanks! 2 posts - 1 participant Read full topic

View Article

Browsing latest articles
Browse All 61 View Live


Latest Images