From 3f7e4f18ec04ce99265fe499927239d100ddadec Mon Sep 17 00:00:00 2001 From: rohanbabbar04 Date: Wed, 15 Feb 2023 22:24:46 +0530 Subject: [PATCH] Added KMP_DUPLICATE_LIB_OK = TRUE in readthedocs --- examples/plot_fft.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/plot_fft.py b/examples/plot_fft.py index 6bb6b01a..029f51df 100644 --- a/examples/plot_fft.py +++ b/examples/plot_fft.py @@ -1,11 +1,14 @@ """ Fourier Transform ================= -This example shows how to use the :py:class:`pylops.signalprocessing.FFT`, +This example shows qhow to use the :py:class:`pylops.signalprocessing.FFT`, :py:class:`pylops.signalprocessing.FFT2D` and :py:class:`pylops.signalprocessing.FFTND` operators to apply the Fourier Transform to the model and the inverse Fourier Transform to the data. """ +import os +os.environ['KMP_DUPLICATE_LIB_OK'] = "TRUE" + import matplotlib.pyplot as plt import numpy as np @@ -306,3 +309,4 @@ axs[1][1].set_title("Error") axs[1][1].axis("tight") fig.tight_layout() +plt.show()