Edward Lance Lorilla |
【Visual Studio Visual Csharp】Tray Icon Posted: 15 Jun 2021 08:39 AM PDT using System; using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms; namespace showTrayC{ public partial class Form1 : Form { NotifyIcon notify = new NotifyIcon(); public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { notifyIcon1.Visible = true; notifyIcon1.BalloonTipIcon = ToolTipIcon.Info; notifyIcon1.BalloonTipText = "Application working..."; notifyIcon1.BalloonTipTitle = "TrayIcon example application"; notifyIcon1.ShowBalloonTip(2000); } private void Form1_Load(object sender, EventArgs e) { notifyIcon1.Visible = false; } }} |
【PYTHON】Boxplots and Boxenplots Posted: 15 Jun 2021 08:37 AM PDT import pandas as pd df = pd.read_csv('itunes_data.csv') df['Minutes'] = df['Milliseconds'] / (1000 * 60) df['MB'] = df['Bytes'] / 1000000 df.drop(['Milliseconds', 'Bytes'], axis=1, inplace=True) import matplotlib.pyplot as plt df['Minutes'].plot.box() plt.show() df['Minutes'].plot.box() import seaborn as sns _ = sns.boxenplot(y=df['Minutes']) # plot multiple columns at once sns.boxenplot(data=df[['Minutes', 'MB']]) # save figure for book f = plt.figure(figsize=(5.5, 5.5)) # this changes the size of the image -- more on this is chapter 5 f.patch.set_facecolor('w') # sets background color behind axis labels sns.boxenplot(y=df['Minutes']) plt.tight_layout() # auto-adjust margins plt.savefig('B17030_05_02.png', dpi=300) sns.boxenplot(y=df['Minutes']) plt.yscale('log') #@title Default title text # save figure for book f = plt.figure(figsize=(5.5, 5.5)) # this changes the size of the image -- more on this is chapter 5 f.patch.set_facecolor('w') # sets background color behind axis labels sns.boxenplot(y=df['Minutes']) plt.yscale('log') plt.tight_layout() # auto-adjust margins plt.savefig('B17030_05_03.png', dpi=300) df['Minutes'].plot.box() plt.yscale('log') df['Minutes'].plot.box() plt.yscale('log') # another way to use a log scale df['Minutes'].plot.box(logy=True) df['Minutes'].describe() |
Posted: 15 Jun 2021 08:36 AM PDT Information about object: obj_MapKey Sprite: spr_Map Solid: false Visible: true Depth: 0 Persistent: false Parent: Children: Mask: No Physics Object Create Event: execute code: Mouse Event for Left Released: execute code: Draw Event: execute code:
Key Release Event for <any key> Key: execute code: Information about object: obj_Player |
You are subscribed to email updates from Edward Lance Lorilla. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment