Skip to content

Commit

Permalink
Merge pull request #14 from rserial/fix-naming
Browse files Browse the repository at this point in the history
Fix naming
  • Loading branch information
fedejaure authored Jul 7, 2024
2 parents 07aadb5 + 3623b38 commit a12a37c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ For more information on the FLINT algorithm, refer to the [official FLINT reposi

## Features

pyflint is built around the Flint class, which provides a simple approach to perform an inverse Laplace transform for 1D and 2D relaxation NMR data. Key features include:
flintpy is built around the Flint class, which provides a simple approach to perform an inverse Laplace transform for 1D and 2D relaxation NMR data. Key features include:

- `T2`: T2 relaxation
- `T1IR`: T1 relaxation for inversion recovery experiments
Expand Down
8 changes: 4 additions & 4 deletions src/flintpy/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def plot_t2_ilt(
# Create the figure object
fig = go.Figure(data=[trace], layout=layout)

fig.update_layout(width=500, height=500, template="pyflint_plotly_template")
fig.update_layout(width=500, height=500, template="flintpy_plotly_template")
return fig


Expand Down Expand Up @@ -210,10 +210,10 @@ def plot_t1sr_ilt(
template.layout.height = 400

# Update the template name to 'my_custom_template'
pio.templates["pyflint_plotly_template"] = template
pio.templates["flintpy_plotly_template"] = template

# Load the updated template
pyflint_plotly_template = pio.templates["pyflint_plotly_template"]
flintpy_plotly_template = pio.templates["flintpy_plotly_template"]

# Set the updated template as the default
pio.templates.default = "pyflint_plotly_template"
pio.templates.default = "flintpy_plotly_template"
2 changes: 1 addition & 1 deletion src/flintpy/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Utils functions for pyflint."""
"""Utils functions for flintpy."""

from pathlib import Path
from typing import Tuple
Expand Down

0 comments on commit a12a37c

Please sign in to comment.