From a763e5d1b3921b3194f3d4e94ab9de3fbe08bbdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Picca=20Fr=C3=A9d=C3=A9ric-Emmanuel?= Date: Tue, 28 May 2019 08:16:16 +0200 Subject: New upstream version 0.10.1+dfsg --- silx/sx/_plot3d.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'silx/sx/_plot3d.py') diff --git a/silx/sx/_plot3d.py b/silx/sx/_plot3d.py index 42ebf80..da4bad4 100644 --- a/silx/sx/_plot3d.py +++ b/silx/sx/_plot3d.py @@ -1,7 +1,7 @@ # coding: utf-8 # /*########################################################################## # -# Copyright (c) 2018 European Synchrotron Radiation Facility +# Copyright (c) 2018-2019 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -177,7 +177,7 @@ def points3d(x, y, z=None, colormap='viridis', vmin=None, vmax=None, - mode='o'): + mode=None): """ Plot a 3D scatter plot in a :class:`~silx.gui.plot3d.SceneWindow.SceneWindow` widget. @@ -239,7 +239,8 @@ def points3d(x, y, z=None, colormap = Colormap(name=colormap, vmin=vmin, vmax=vmax) scatter.setColormap(colormap) - scatter.setSymbol(mode) + if mode is not None: + scatter.setSymbol(mode) window.show() -- cgit v1.2.3