matplotlib tag

89 questions


1 answers
104 views
0
How do I change the size of the picture made of matplotlib?

How can I change the size of the picture made with matplotlib?Without overwriting or creating anything new!


1 answers
51 views
0
About how to specify the x-axis y-axis range in matplolib

In the code below, you want to limit the y-axis from 0 to 1000 for the second plot.FFT has an infinite number, so I'm just going to cut it to the top 1000.import scipyfrom matplotlib import pylabxs = ...

2 years ago

1 answers
43 views
0
I have a question when I draw a graph using matplotlib in Python Pandas.

When creating a subplot by subtracting Fig.add_subplot The returned object is called AxesSubplot, but I don't understand the meaning of AxesSubplot even after searching.I'm not sure how it affects the...

2 years ago

1 answers
98 views
0
I'd like to ask you more questions No module named 'matplotlib'

I think there might be a problem with the route, so I also checked the route where matplotlib was installed, and it seems to be the same. What's the problem, please help me.


1 answers
58 views
0
For statement in Python graph utilization

It is a code that tries to graph the current death rate by Corona country. In this code, the for statement shows all the names of the countries on the page, the r_rate, and the country-specific mortal...


2 answers
104 views
0
Draw a graph of gravity according to altitude with matplotlib

N = 80z = np.zeros((N,2))for h in range(0,80,1): z[h,0] = h #constants mass_earth = 5.9722*10**(24) #[kg] radius_earth = 6371*10**(3) #[m] universal_gravitational_const = 6.674*10**(-11) #[m^3/kg^-1*s...

2 years ago

1 answers
63 views
0
To draw multiple normal distributions at once with Python matplotlib

We drew a graph by creating the following functional expression with Python.import numpy as npimport matplotlib.pyplot as pltx = np.arange(0, 10.1, 0.2)a = np.zeros(100*51)def f(x): y = np.exp(-0.5*x)...

2 years ago

1 answers
147 views
0
Error related to networkx: ValueError: Received invalid argument(s): size

import pandas as pddf =pd.read_csv(C:\\python37\\practice\\textmining\\ccccg\\xxx.csv, encoding='cp949')galexy_posts=df.get('song')print(galexy_posts[0:10])from eunjeon import Mecabtagger = Mecab()gal...


1 answers
46 views
0
How do I set the plot chart x-axis name?

I'd like to put this name on the x-axis of 2018 2019 2020 2021 2022 and show it as a plot.How do I type the code to keep the 20180, 5 and 2019 values from coming up?

2 years ago
« - 9 -

© 2024 OneMinuteCode. All rights reserved.