Quantcast
Channel: Uncategorized - Matplotlib
Browsing all 51 articles
Browse latest View live

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
Browsing all 51 articles
Browse latest View live