From 2fede48f2ab2dabe06068a84d683018c7c65feb4 Mon Sep 17 00:00:00 2001 From: kiaraafarias <70782800+kiaraafarias@users.noreply.github.com> Date: Wed, 24 Feb 2021 13:22:37 -0500 Subject: [PATCH] Delete Graphing functions (1).py --- multi_participants/Graphing functions (1).py | 42 -------------------- 1 file changed, 42 deletions(-) delete mode 100644 multi_participants/Graphing functions (1).py diff --git a/multi_participants/Graphing functions (1).py b/multi_participants/Graphing functions (1).py deleted file mode 100644 index 75d44f0..0000000 --- a/multi_participants/Graphing functions (1).py +++ /dev/null @@ -1,42 +0,0 @@ -#!/usr/bin/env python -# coding: utf-8 - -# In[26]: - - -from matplotlib import pyplot as plt -import pandas as pd -import numpy as np - - -# In[27]: - - -data = pd.read_csv('/Users/kf/Downloads/case_4_accuracy.csv') - - -# In[28]: - - -standErr = np.std(data, ddof=1, axis=1) / np.sqrt(np.size(data, axis =1)) - - -# In[29]: - - -data['mean'] = data.mean(axis=1) - - -# In[30]: - - -plt.figure(figsize=(7,8)) -plt.errorbar( data['Unnamed: 0'], data['mean'], yerr=standErr, fmt='o', color='Black', elinewidth=2,capthick=2,errorevery=1, alpha=1, ms=2, capsize = 3) -plt.bar(data['Unnamed: 0'], data['mean'],tick_label = data['Unnamed: 0'], color = 'mediumslateblue')##Bar plot - - -# In[ ]: - - - -