Browse code

remove " "

Bas Nijholt authored on 05/05/2020 20:53:13
Showing 2 changed files
... ...
@@ -849,7 +849,7 @@ class LearnerND(BaseLearner):
849 849
                 return hv.Scatter([]) * hv.Path([])
850 850
             elif self.vdim > 1:
851 851
                 raise NotImplementedError(
852
-                    "multidimensional output not yet" " supported by `plot_slice`"
852
+                    "multidimensional output not yet supported by `plot_slice`"
853 853
                 )
854 854
             n = n or 201
855 855
             values = [
... ...
@@ -869,7 +869,7 @@ class LearnerND(BaseLearner):
869 869
         elif plot_dim == 2:
870 870
             if self.vdim > 1:
871 871
                 raise NotImplementedError(
872
-                    "holoviews currently does not support" " 3D surface plots in bokeh."
872
+                    "holoviews currently does not support 3D surface plots in bokeh."
873 873
                 )
874 874
             if n is None:
875 875
                 # Calculate how many grid points are needed.
... ...
@@ -1001,7 +1001,7 @@ class LearnerND(BaseLearner):
1001 1001
         elif which == "line":
1002 1002
             if self.ndim != 2 or self.vdim != 1:
1003 1003
                 raise Exception(
1004
-                    "Isoline plotting is only supported" " for a 2D input and 1D output"
1004
+                    "Isoline plotting is only supported for a 2D input and 1D output"
1005 1005
                 )
1006 1006
             get_surface = False
1007 1007
             get_line = True
... ...
@@ -379,9 +379,7 @@ class BlockingRunner(BaseRunner):
379 379
         raise_if_retries_exceeded=True,
380 380
     ):
381 381
         if inspect.iscoroutinefunction(learner.function):
382
-            raise ValueError(
383
-                "Coroutine functions can only be used " "with 'AsyncRunner'."
384
-            )
382
+            raise ValueError("Coroutine functions can only be used with 'AsyncRunner'.")
385 383
         super().__init__(
386 384
             learner,
387 385
             goal,
... ...
@@ -549,7 +547,7 @@ class AsyncRunner(BaseRunner):
549 547
         if inspect.iscoroutinefunction(learner.function):
550 548
             if executor:  # user-provided argument
551 549
                 raise RuntimeError(
552
-                    "Cannot use an executor when learning an " "async function."
550
+                    "Cannot use an executor when learning an async function."
553 551
                 )
554 552
             self.executor.shutdown()  # Make sure we don't shoot ourselves later
555 553