Category "plot"

Live normalized stacked area chart in Google Colab

I am training a neural network for binary classification on Google Colab. Each epoch, I evaluate it on the validation dataset and calculate the percentages of t

Font size of x and y label with triangle_plot

I want to increase the fontsize of the x and y label of my triangle plot. I tried as in this question: Changing the size of labels of plots in python but it's n

Setting X axis label name more frequently in Matplotlib

I have a dataframe like this Time(DDHHMM) True AOG Predicted AOG 5184 28:0:0.0 4.0 4.697324 5185 28:0:5.0 10.0 0.366948 518

Plotting value from matching complete pairs in rows

I have data of drug concentrations (DV) that include a parent drug and its metabolite, coded DVID 1 and 2, respectively. They are provided to me as separate ro

Insert a png image in a matplotlib figure

I'm trying to insert a png image in matplotlib figure (ref) import matplotlib.pyplot as plt import numpy as np from matplotlib.figure import Figure from matplo

How to plot a Sequential Bayes Factor as participants are added

I am currently analyzing eye-tracking data using the Sequential Bayes Factor method, and I would like to plot how the resulting Bayes Factor (BF; calculated fro

Trim data on matplotlib diagonally

Can anyone help me with how to trim plot data on the left side of this straight line besides doing it manually on excel? Thanks enter image description here I'm

How to make multiple smooth curves in one plot in R (with these data)?

I am a beginner with R. I have the next data: 5 cars drive from A to B, the total distance is 100 km. The speed of these cars is measured during different momen

Plot timeseries whit seaborn

I want to plot these 4 time series through the seaborn Library in Python: Thank you for your help totalcc=[cluster_center_1 ,cluster_center_2 ,clus

R plot graph for data coordinates not showing up

I have a set of data coordinates I'm trying to show on Rstudio.The issue starts when I try to run the plot function for a dataframe since that format does not s

Multiple Fonts In A Matplotlib Title

I am currently leveraging Matplotlib to generate a variety of graphics and want to use a series of custom fonts. I am specifically using the Milliard font packa

1 of the 5 plots are missing in the graphic

I want to plot all ROC curves in one graphic with the plot function, but the first plot (tree.perf in blue) is separate from the others. Can someone help me out

Annotate bars with values on Pandas bar plots

I was looking for a way to annotate my bars in a Pandas bar plot with the rounded numerical values from my DataFrame. >>> df=pd.DataFrame({'A':np.rand

How to remove excess whitespace in matplotlib legend for PGF plot

I'm creating a fairly small plot with matplotlib which needs to include a certain legend. However, while space is tight, for some reason matplotlib makes the le

Julia plot hline! doesn't work with multiple threads

I have a simple simulation and I want to plot errors on 3 distinct figures. To speed things up I wanted to introduce a little bit of parallel computing. Threads

R plot doesn't shows on Mac but the same plot shows on Windows

Yesterday I bought a Mac (M1 processor) and today I installed R and R Studio. I tried to plot the same code in a Windows machine and my Mac, but the plot only s

Can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first

I am trying to show results of GAN network on some specified epochs. The function for printing the current result was used previously with TF. I need to change

Can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first

I am trying to show results of GAN network on some specified epochs. The function for printing the current result was used previously with TF. I need to change

Can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first

I am trying to show results of GAN network on some specified epochs. The function for printing the current result was used previously with TF. I need to change

Can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first

I am trying to show results of GAN network on some specified epochs. The function for printing the current result was used previously with TF. I need to change