Skip to content

Commit 82677a4

Browse files
more fix
1 parent 6603bb1 commit 82677a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/examples/diffraction_objects_example.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ we would replace the code above with
100100
.. code-block:: python
101101
102102
plt.plot(calculated.on_q()[0], calculated.on_q()[1])
103-
plt.plot(measured.scale_to(calculated, q=5.5)[0], measured.scale_to(calculated, q=5.5)[1])
103+
plt.plot(measured.scale_to(calculated, q=5.5).on_q()[0], measured.scale_to(calculated, q=5.5).on_q()[1])
104104
plt.show()
105105
106106
The ``scale_to()`` method returns a new ``DiffractionObject`` which we can assign to a new

0 commit comments

Comments
 (0)