What do you want to save?
Add Code snippet
New code examples
-
Python 2021-11-11 00:06:17
cdf empírica python
# fit an empirical cdf to a bimodal dataset from matplotlib import pyplot from numpy.random import normal from numpy import hstack from statsmodels.distributions.empirical_distribution import ECDF # generate a sample sample1 = normal(loc=20, scale=5, size... Add solution -
Python 2021-11-08 12:03:10
set font size xaxis pandas
plt.figure() plt.rcParams.update({'font.size': 22}) # must set in top ax1 = df_plot.plot(x='wind_direct',y=plot_columns,figsize=(30,18),linewidth=5,kind='line',legend=True, fontsize=16) ax1.legend(loc=2,fontsize=20) ax1.set_ylabel('kw',fontdict={'fontsiz... Add solution -
Other 2021-11-05 17:15:09
gks not in proper state
sudo apt-get install qt5-default GR#master #fix currently in master ENV["GRDIR"]=""; ] build GR #to install the latest GR run-time? #or Switch to a different backend #testing on 1.4.0 ENV["PYTHON"]="" Pkg.build(&qu... Add solution -
Python 2021-09-06 03:39:01
python tkinter plot points
from tkinter import * from tkinter.ttk import * import matplotlib matplotlib.use("TkAgg") from matplotlib.figure import Figure from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg root = Tk() figure = Figure(figsize=(5, 4), dpi=10... Add solution