Skip to content

Commit

Permalink
🎨
Browse files Browse the repository at this point in the history
  • Loading branch information
arafune committed Feb 25, 2024
2 parents cb7afbe + e2e9cf8 commit c84274a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/arpes/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
import pyperclip
import xarray as xr
from matplotlib import gridspec
from matplotlib.axes import Axes
Expand Down Expand Up @@ -598,6 +597,9 @@ def on_copy_settings(event: Event) -> None:
Returns:
[TODO:description]
"""

import pyperclip

pyperclip.copy(pprint.pformat(compute_parameters()))

copy_settings_button = Button(ax_test, "Copy Settings")
Expand Down Expand Up @@ -922,6 +924,9 @@ def on_copy_settings(event: Event) -> None:
Returns:
[TODO:description]
"""

import pyperclip

pyperclip.copy(pprint.pformat(_compute_offsets()))

def apply_offsets(event: Event) -> None:
Expand Down

0 comments on commit c84274a

Please sign in to comment.