About 4,530,000 results
Open links in new tab
  1. Shading example — Matplotlib 3.10.3 documentation

    Example showing how to make shaded relief plots like Mathematica or Generic Mapping Tools. The use of the following functions, methods, classes and modules is shown in this example:

  2. python - How to draw a rectangle on image - Stack Overflow

    If you want to change the image data (e.g. draw a rectangle on an image), you could use PIL's ImageDraw, OpenCV, or something similar. Here is PIL's ImageDraw method to draw a …

  3. Python SketchPy Tutorial - Pythonista Planet

    Do you want to draw some cool pictures with a few lines of Python code? SketchPy is here to help. In this article, let’s look at what sketchpy is and how you can use it to draw pictures using …

  4. shades - PyPI

    Apr 16, 2022 · The only requirement of creating a Shade is to include a method determine_shade, taking only (x,y) coordinates as an argument, and returning a color. Here's an example of …

  5. Sketchpy in Python - GeeksforGeeks

    Apr 24, 2025 · In this article, we will learn about a new module in Python that is Sketchpy which helps the users to trace the sketch and draw the sketch.

  6. Drawing Shapes on Images with Python and Pillow

    Feb 23, 2021 · Pillow provides a drawing module called ImageDraw that you can use to create simple 2D graphics on your Image objects. According to Pillow’s documentation, “you can use …

  7. Awesome Python Turtle Codes - Pythondex

    Mar 7, 2024 · With the turtle module you can draw cartoons, shapes and some cool designs. It is a great library for drawing things in python. I will show you the basic and advanced python …

  8. Shapes in Python - Plotly

    There are two ways to draw filled shapes: scatter traces and layout.shapes which is mostly useful for the 2d subplots, and defines the shape type to be drawn, and can be rectangle, circle, line, …

  9. pcolormesh grids and shading — Matplotlib 3.10.3 documentation

    axes.Axes.pcolormesh and pcolor have a few options for how grids are laid out and the shading between the grid points. Generally, if Z has shape (M, N) then the grid X and Y can be …

  10. Image shading with OpenCV and Numpy - Open Data Stories …

    May 1, 2020 · A quick guide to applying image filtering (brightening/darkening) in Python with OpenCV and Numpy.

Refresh