errorbar

How can I display error bars an a datetime.datetime axis?

How can I display error bars an a datetime.datetime axis? Question: I’m trying to make a plot with error bars along the time axis, ideally with adjustable upper/lower error limits. I’ve been using the datetime.datetime datatype to do this, which has been reliable until I’ve tried to implement error bars with matplotlib.pyplot.errorbar(). import matplotlib.pyplot as …

Total answers: 2

custom errorbars for catplot with grouped bars in facets

custom errorbars for catplot with grouped bars in facets Question: pandas 1.5.3 seaborn 0.12.2 My code and part of the data is shown below. I am trying to plot the errorbars precomputed in the dataframe (val_lo,val_hi). It seems that sns.catplot with kind=bar has support using errorbar as mentioned here – how do I get that …

Total answers: 1

How can I plot st error bars with seaborn relplot?

How can I plot st error bars with seaborn relplot? Question: I am studying different variables. I want to plot the results with the stadnard error. I use the filter function because depending on what I want to analyse, I am interested in just plotting mineral, or just plotting one material…etc. I mention this because …

Total answers: 1

How can I add error bars with min and max value to grouped barplot?

How can I add error bars with min and max value to grouped barplot? Question: How can I add an error bar with a specific minimum and maximum value on the orange bars only. This is my code now import matplotlib.pyplot as plt import numpy as np # Enter my SiC2 data sic2_AGB = np.array([3.7e-7, …

Total answers: 1

How to plot errorbars on seaborn barplot

How to plot errorbars on seaborn barplot Question: I have the following dataframe: data = {‘Value’:[6.25, 4.55, 4.74, 1.36, 2.56, 1.4, 3.55, 3.21, 3.2, 3.65, 3.45, 3.86, 13.9, 10.3, 15], ‘Name’:[‘Peter’, ‘Anna’, ‘Luke’, ‘Peter’, ‘Anna’, ‘Luke’, ‘Peter’, ‘Anna’, ‘Luke’, ‘Peter’, ‘Anna’, ‘Luke’, ‘Peter’, ‘Anna’, ‘Luke’], ‘Param’: [‘Param1’, ‘Param1’, ‘Param1’, ‘Param2’, ‘Param2’, ‘Param2’, ‘Param3’, ‘Param3’, ‘Param3’, …

Total answers: 1

How to show errorbars behind symbols

How to show errorbars behind symbols Question: I plot my error bars and data separately. How do I make the scatter plot data symbols overlay the error bars? here is a simple working version of my problem import numpy as np import matplotlib.pyplot as plt fig = plt.figure() x = np.arange(10) y = 2.5 * …

Total answers: 1

Lineplot with Seaborn and ci="sd" function

Lineplot with Seaborn and ci="sd" function Question: I’m trying to produce some snazzy charts in seaborn and need some help. I have some stock data, consisting of 5 stocks. I’m basically trying to visually display how Stock A has performed in comparison to the others. To do this I am looking at cumulative returns, and …

Total answers: 1

Scatter plot with errorbars and colors mapping a physical quantity

Scatter plot with errorbars and colors mapping a physical quantity Question: I’m trying to do a quite simple scatter plot with error bars and semilogy scale. What is a little bit different from tutorials I have found is that the color of the scatterplot should trace a different quantity. On one hand, I was able …

Total answers: 1