A new web page is avaialble! check it out at [https://vedo.embl.es](https://vedo.embl.es)
- python2 is no more supported
- A dangerous bug in `mesh.closestPoint(returnIds=True)` has been fixed
- Added interfaces and examples to libraries [iminuit](https://github.com/scikit-hep/iminuit)
and [pymeshlab](https://github.com/cnr-isti-vclab/PyMeshLab)
- variable `datadir` changed to `dataurl`
- added `ipyvtk_simple` option for notebooks rendering
---
`base.py`
- method `addPos()` (obsolete but still valid) renamed to `shift()`
- added shortcut to input the opacity with syntax `mesh.color("blue", 0.5)`
- arrays with name "Normals" are set as active normals automatically ( theponpon )
- added keyword invert in `getTransform()` ( Tai-Hsien )
- added `deleteCells()` method
---
`addons.py`
- added mesh cutter with planes and spheres in addition to boxes ( nantille )
- major revision of the `Axes` class. with new added feature like axes inversion, free rotations
- keyword `xFlipText` disappeared as is now substituted by `xLabelRotation`
- Added `xyShift` to shift the whole cartesian plane along one axis ( JGarrett7 )
- Axes can be flipped with their range with `xInverted` (caveat: this does not at all affect the world coordinate system!)
- new class `LegendBox` to show a legend with icons
---
`colors.py`
- `vedo` is now independent of matplotlib for colormaps
- added new bootstrap5 [color scheme](https://user-images.githubusercontent.com/98681/84801339-e5585680-afb3-11ea-8743-29647ff3f3a9.png)
(e.g. `c='red1', 'red2', ..., 'red9'`, or in short: `c='r1', 'r2', ..., 'r9'`)
Lower index means darker.
- added `rgb2hex()` and `hex2rgb()` functions
- fixed bug on `printc()` and added `settings.enablePrintColor`. 337
---
`mesh.py`
- fixed bug in `splitByConnectivity()` ( jsanchez679 )
- added method `addConnectivity()` to add a connectivity array to mesh points
- added method `isClosed()` ti return if mesh is watertight (no holes)
---
`plotter.py`
- improved `resetcam` behaviour
- passing camera no more empties the passed dictionary (thanks icemtel )
- `verbose` keyword has been removed (as hard to maintain)
- mouse clicking can now pick `Picture` not only `Mesh`
- revised and improved callback functionality with `plotter.addCallback()`
(see examples `mousehighlight`, `mousehover`)
- new way of creating a callback loop with a timer (thanks nantille - see examples `timer_callback`)
---
`picture.py`
- attribute `picture.shape` holds the shape of the picture in pixels
- added `gif` file reader to return a list of `Picture` objs.
- added `clone()` method.
---
`pointcloud.py`
- added `fitCircle()` to fit a circle to a line in 3D.
- added a revision of `self.densify()`. Removed `densifyCloud()`. 338
---
`pyplot.py`
- a brand new function `fit()` to perform polynomial fitting to data with error bars in both x and y with correct estimation of error bands via bootstrap method (there are out there soo many wrong scripts in matplotlib!)
- added `pyplot.matrix()` to plot numpy matrices (eg. correlation/covariance matrix)
- various minor fixes
---
`shapes.py`
- `Spline` can control the *easing*, the density of points along the line.
- support for closed splines.
- `Text2D` completely rewritten. Can now update it after creation (e.g. `mytxt.text("test").color("g")`)
---
`volume.py`
- added `volume.shade()` which can be `True` or `False`. Disable by default (was previously enabled)
to be used in conjunction with `volume.lighting()` to create a mesh-like rendering of the volume.
(thanks to nantille for debugging)
- fixed example `interpolateVolume` (thanks rafaelmarch3 )
New/Revised examples:
- `vedo -r colorcubes`
- `vedo -r cutter`
- `vedo -r spline_ease`
- `vedo -r gyroid`
- `vedo -r align6`
- `vedo -r colormap_list`
- `vedo -r bloch`
- `vedo -r slicePlane1`
- `vedo -r slicePlane2`
- `vedo -r pygmsh_cut`
- `vedo -r mousehighlight`
- `vedo -r mousehover`
- `vedo -r line2mesh_quads`
- `vedo -r line2mesh_tri`
- `vedo -r pointsCutMesh2`
- `vedo -r hoverLegend`
- `vedo -r iminuit`
- `vedo -r pymeshlab1`
- `vedo -r timer_callback1`
- `vedo -r timer_callback2`
- `vedo -r fitCircle`
- `vedo -r anim_lines`
- `vedo -r earthquake_browser`
- `vedo -r np_matrix`
- `vedo -r customAxes2`
- `vedo -r customAxes3`
- `vedo -r glyphs3`
- `vedo -r fitPolynomial1`
- `vedo -r fitPolynomial2`
- `vedo -r histo_gauss`
- `vedo -r plot_polar`
- `vedo -r densifycloud`
- `vedo -r interpolateVolume`