Ipythonblocks

Latest version: v1.9.1

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.9

=====

* Added ``show_color_triple`` function as a convenience for displaying
(red, green, blue) triplets without breaking them out into components
* Added ``Color`` wrapper for colors in the ``colors`` and ``fui_colors``
dictionaries to support ``.red``, ``.green``, and ``.blue`` attribute
access for the component colors

1.8

=====

* Add ``clear`` function
* Use ``clear_output(wait=True)`` to avoid flickering in animations

1.7

=====

* Added ``show_image`` and ``save_image`` for embedding an image in the
Notebook and saving an image to a file, respectively.

1.6

=====

* Added ``post_to_web`` and ``from_web`` methods for for communication
with ipythonblocks.org.
* Added a ``display_time`` keyword to the ``flash()`` method.
* Changed the ``animate`` property to a method so that it can take
a ``stop_time`` keyword to control the amount of time between loop steps.
* Fixed an error with improperly set attributes on views of grids.
* Fixed negative indexing in lower-left origin ImageGrids.
* Fixed an error that allowed too-large indices in lower-left origin ImageGrids.
* Allow color assignment from Blocks/Pixels, not just tuples. (Thanks wolever.)

1.5

=====

* Fixed an issue with an index of -1 in a 2D slice.
* Fixed a display issue with show_color on Firefox.
* Added a dictionary of HTML colors called ``colors``

1.4

=====

* The lines between cells can be toggled on and off. Turning the lines
off can sometimes improve the aesthetics of grids, especially at small
block sizes.
* Added a ``BlockGrid.to_text`` method for easily sending grid data to a file.
* Added a ``show_color`` function that just shows a stripe of a given color.
* Added an ``embed_colorpicker`` function that embeds the website
http://www.colorpicker.com/ in the Notebook.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.