Exemplo n.º 1
0
    def test_plot_function_2D_normal(self):
        """
        Run the plot function with 2D data set without showing the
        result.

        """
        dummy_data = get_dummy_McStasData_2d()

        fig, ax0 = plt.subplots()
        _plot_fig_ax(dummy_data, fig, ax0)
Exemplo n.º 2
0
    def test_plot_function_2D_log(self):
        """
        Run the plot function with 2D data set without showing the
        result. Here the intensity coloraxis is logarithmic.

        """
        dummy_data = get_dummy_McStasData_2d()

        fig, ax0 = plt.subplots()
        _plot_fig_ax(dummy_data, fig, ax0, log=True)
Exemplo n.º 3
0
    def test_plot_function_1D_log(self):
        """
        Run the plot function with 1D data set without showing the
        result. Here with logarithmic y axis.

        """
        dummy_data = get_dummy_McStasData_1d()

        fig, ax0 = plt.subplots()
        _plot_fig_ax(dummy_data, fig, ax0, log=True)