- 博客(6)
- 收藏
- 关注
原创 使用Go绘制分形
// Mandelbrot emits a PNG image of the Mandelbrot fractal.package mainimport ( "image" "image/color" "image/png" "math/cmplx" "os")func main() { const ( xmin, ymin, xmax, ymax = -2, -2, +2, +2 width, height = 1024, 1024 ) img :.
2022-04-22 20:50:43
112
原创 Python统计代码行数
import osdef countlines(start, lines=0, header=True, begin_start=None): if header: print('{:>10} |{:>10} | {:<20}'.format('ADDED', 'TOTAL', 'FILE')) print('{:->11}|{:->11}|{:->20}'.format('', '', '')) for thing i.
2022-03-21 15:50:06
1072
原创 rmarkdown插入html文件
---title: "Introduction"author: "chinsoon12"date: "April 10, 2016"output: html_document---<<insertHTML:[test.html]etc, etc, etc```{r, echo=FALSE}htmltools::includeHTML("test.html")```etc, etc, etc
2021-12-28 02:56:13
730
原创 matplotlib常用操作信息
获取matplotlib色卡import matplotlibfor name, hex in matplotlib.colors.cnames.items(): print(name, hex)获取markerfrom matplotlib.lines import Line2Dmarker_dic = Line2D.markers
2021-11-23 15:34:47
227
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人