why is it that we can not plot a matrix that has the shape (112,112,2) but doing it for shapes such as (112,112,3)is ok ? TypeError: Invalid shape (112, 112, 2)
I've got some trouble with plotting white spans over a plot. I've created and plotted a given function y(x) and defined some "forbidden" regions, corresponding
If I have a frequency table like below: ret < -1(%) -1 < ret < -0.5(%) -0.5 < ret < 0(%) 0 < ret < 0.5(%) 0.5 < ret <
I am trying to plot a collection of finite element data with colored patches used to represent the value in each element. Unfortunately, when I plot the patches
When I run this code, the Dropdown is nowhere to be found. How do I make it appear in ax1? (I think I would like to avoid Tkinter.) #!/usr/bin/env python3 #Pla
The row data has 3 columns and cannot shape a uniform grid based on 'x'&'z', so I am not able to plot the contour as the existed question: Create Contour Pl
I have data representing mean concentrations over 5 months, some means are over a 24 h period and some are weekly means. I want to plot everything as a scatterp
I'm plotting some data using matplotlib with DateTime objects on the x-axis, but can't seem to figure out why my DateTime values aren't spaced out on the x-axis
I want to plot a simple graph using networkx. There are two nodes with labels Python and Programming in each. The code and graph are as follows: import networkx
I know there are similar questions to mine below, but mine is minimal and does not have anything to do with pandas and also solution pd.to_datetime did not work
I've been struggling with this issue for a while now. I simply want to transform my data in display world, perform some operations, and then translate back to t
I have the following code: import matplotlib.pyplot as plt cdict = { 'red' : ( (0.0, 0.25, .25), (0.02, .59, .59), (1., 1., 1.)), 'green': ( (0.0, 0.0,
I ran a series of simulations and want to create a response surface of the performance based off my two parameters, tol and eta. The issue I'm having is actuall
I am trying to make a graph with fixed ticks, regardless to the points values. For example, I want the ticks to be 0-6, and the points values
I have some time series data in the following format from csv file: Time 1 5 10 18 21 22 29 30 35 2019/11/01 09:00 5
I'm new to pandas and plotly. And I have a large csv file with two columns, a date column and a column that contains a string of text (event). Each event is a n
I'm making a real-time application that graphs sensor data in a real-time fashion. The data is saved to a .csv file and graphed using matplotlib in the followin
I have a code that produces a sphere. I want to change the coordinates in which the sphere spawns import numpy as np import matplotlib.pyplot as plt from mpl_to
I'm trying to work with NURBS using geomdl. I already have an matplotib axis, where several elements are plotted using: plot() scatter() imshow() (for Backgr
I'm not sure if my question makes sense, so apologies on that. Basically, I am plotting some data that is ~100 hours long. On the x-axis, I want to make it so t