From 7d595d7edebc125ccbef6259672b1ce7a1d585bf Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Mon, 10 Apr 2023 11:08:01 +0900 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7bd167a..db34276 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ ls -l | awk '{print $9, $5}' | sort -nk 2 | uplot bar -d ' ' echo -e "from numpy import random;" \ "n = random.randn(10000);" \ "print('\\\n'.join(str(i) for i in n))" \ -| python \ +| python3 \ | uplot hist --nbins 20 ``` @@ -80,7 +80,7 @@ curl -sL https://git.io/AirPassengers \ ```sh # For offline users: Calculates sin values (0-2*pi) and plots a sine wave. -python -c ' +python3 -c ' from math import sin, pi data = "\n".join(f"{i*pi/50}\t{sin(i*pi/50)}" for i in range(101)) print(data)' | uplot line @@ -143,7 +143,7 @@ cat test/fixtures/iris.csv | cut -f1-4 -d, | uplot boxplot -H -d, -t IRIS Count processes by user ID. ```sh -ps -aux | awk '{print $1}' | uplot count +ps aux | awk '{print $1}' | uplot count ``` Count the number of chromosomes where genes are located.