Skip to content
pythoneo

Pythoneo

Online How to Python stuff

  • Home
  • Privacy Policy
  • About
  • Cookie Policy

draw

Having fun drawing? Enter here to see how to draw with Python!

How to draw pyramid?

January 14, 2021May 23, 2025Pythoneo

Let’s embark on an exciting journey to learn how to draw various pyramids using Python.

Python

Python code to draw cos(x) using matplotlib

December 17, 2020February 18, 2025Pythoneo

I will demonstrate how to generate a graph of the cosine function, cos(x), using the Matplotlib and NumPy libraries in Python. Matplotlib is a plotting library in Python, and its pyplot module provides a collection of functions that make Matplotlib work like MATLAB. NumPy is essential for numerical operations in Python, and here we utilize Continue reading

matplotlib, numpy

Here’s how to draw a hyperbola

December 15, 2020March 1, 2024Pythoneo

Let’s draw using tkinter. Hyperbola is my choice!

Tkinter

Draw random stars using turtle

December 13, 2020May 23, 2025Pythoneo

Enjoy creating random objects with Python. Now, let’s have some fun drawing stars in various positions and colors. Turtle graphics is a simple and fun way to create drawings with Python code. It uses a virtual turtle that you can command to move around the screen and draw lines, shapes, and more. This makes it Continue reading

turtle

RSS RSS

  • How to change plotly figure size
  • Understanding Plotly Traces in Python
  • Understanding fill in Tkinter
  • Creating Round Buttons in Tkinter
  • Resolving TypeError: ufunc isnan not supported for the input types
  • Profiling Python Code for Performance Optimization
  • Saving Plotly Plots to Local Files
  • How to Set Same Scale for X and Y Axis in Plotly
  • Setting Background Color to Transparent in Plotly Plots
  • How to remove space between subplots in Plotly

Resources

  • Matplotlib Master Hub + Recipes
  • OpenCV Master Hub + Recipes
  • Seaborn Master Hub + Recipes
  • Tkinter Master Hub + Patterns
  • SciPy Optimize Cookbook (minimize, least_squares, linprog)
  • Plotly Maps & Geo Cookbook
  • Paramiko Master Hub + Production Cookbook
  • NumPy Master Hub + Cheatsheets
  • Ultimate Python Cheatsheet + Gotchas
  • Django Master Hub + Recipes

Tags

array axis button calculations chart column conversion count data type dimension draw dtype empty error fill float generate grid GUI image index integer list matrix max mean min mode multiply normal distribution number pie plot random reshape rotate round rows size string sum test text time zero

Categories

  • bokeh (6)
  • Django (11)
  • matplotlib (12)
  • numpy (121)
  • OpenCV (7)
  • Pandas (6)
  • paramiko (63)
  • Pillow (6)
  • Plotly (20)
  • Python (68)
  • Scipy (9)
  • Seaborn (16)
  • statistics (6)
  • Tkinter (30)
  • turtle (2)
Proudly powered by the Izo WordPress theme