diff --git a/pyproject.toml b/pyproject.toml index f66d7f1..6039d1f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "scgenerator" -version = "0.3.22" +version = "0.3.23" description = "Simulate nonlinear pulse propagation in optical fibers" readme = "README.md" authors = [{ name = "Benoit Sierro", email = "benoit.sierro@iap.unibe.ch" }] diff --git a/src/scgenerator/plotting.py b/src/scgenerator/plotting.py index f51683e..05e4d4b 100644 --- a/src/scgenerator/plotting.py +++ b/src/scgenerator/plotting.py @@ -1168,7 +1168,7 @@ def summary_plot( axes: tuple[Axes, Axes] | None = None, wl_db="1D", time_db=False, - cmap: str | matplotlib.colors.LinearSegmentedColormap = "viridis", + cmap: str | matplotlib.colors.LinearSegmentedColormap = None, ): wl_int = specs.wl_int time_int = specs.time_int diff --git a/tests/test_integrator.py b/tests/test_integrator.py index 5e1c02d..3073839 100644 --- a/tests/test_integrator.py +++ b/tests/test_integrator.py @@ -29,7 +29,7 @@ def test_rk43_soliton(plot=False): n = 1024 l0 = 835e-9 w0 = sc.units.m(l0) - b2 = sc.fiber.D_to_beta2(sc.units.D_ps_nm_km(24), l0) + b2 = sc.fiber.dispersion_parameter_to_beta2(sc.units.D_ps_nm_km(24), l0) gamma = 0.08 t0_fwhm = 50e-15 p0 = 1.26e3