matplotlib tag

89 questions


1 answers
102 views
0
I want to learn whether the x,y coordinates entered into the neural network are located above or below the sin curve.

I was writing a code to learn whether the x,y coordinates entered into the neural network in python 3 are located above or below the sin curve, but an error occurred and I couldn't move forward and hi...


1 answers
59 views
0
Regarding the problem of not displaying the number of axes when using matplotlib

When I created a graph using matplotlib, I am troubled that the scale of the y-axis is not displayed.I would like to create a graph with the y-axis as log scale using the following code, but when I tr...

2 years ago

1 answers
77 views
0
font.family:Error in

I'm a beginner.I want to solve the problem of using matplotlib to create graphs in jupyter notebook, so I am working on a mac using this site as a reference. font.family:Hiragino SansEven if you type ...


1 answers
74 views
0
I want to get the x-axis information of the extended range in matplotlib.

We would like to expand some of the time series data with matplotlib's gui enlargement tool (muspectacles button) and cross button to create a program that displays the maximum/minimum value and frequ...

2 years ago

1 answers
66 views
0
Understanding Python Matplotlib Legends and Auxiliary Lines

I have a few questions about Python's matplotlib legend and auxiliary lineQuestion 1 How do I create a legend for each color?Question 2 How do I write the interval between the auxiliary lines in incre...

2 years ago

1 answers
64 views
0
How to include diagrams, characters, annotations, etc. in a time series graph of matplotlib

I use matplotlib.How do I get the pixel coordinates of the graph?If the x,y axis is a real number, I understand that pixel coordinates can be obtained using ax.transData.transform.However, it does not...

2 years ago

1 answers
80 views
0
warnings.warn(msg, FutureWarning)

When you run a program, you get the following warning:I would like you to tell me how to solve it.Thank you for your cooperationFutureWarning: Using an implicitly registered datetime converter for a m...

2 years ago

1 answers
245 views
0
Error in x, y, and format string must not be None

I just started Python.import numpy as npimport matplotlib.pyplot aspltx = np.linspace(0,2*np.pi,50)def(x): np.sin(x) plt.plot(x,f(x),label='y')plt.show()where ValueError: x, y, and format string must...

2 years ago

1 answers
68 views
0
"_init__() missing 1 required positional argument: 'figure'" error when using scatter in matplotlib

I have a question about matplotlib.An error occurred while executing the following code:How can I set the figure argument?error message_init__() missing 1 required positional argument: 'figure'source ...

2 years ago

1 answers
68 views
0
Can you use matplotlib for 50 colors?

I can use matplotlib to color code 20 colors such as cmap tab 20, but I'd like to color code 50 colors. Does anyone know this?

2 years ago
« - 6 - »

© 2024 OneMinuteCode. All rights reserved.