semvec/pypi-packages huggingface dataset:
fw-gear-validated-file-metadata-importer 1.0.1
Extract metadata of input file to Flywheel.
License: MIT
Requires Python: <4.0,>=3.10

# Validated File metadata importer

`validated-file-metadata-importer` is a Flywheel Gear that imports metadata header of
file and indexes them in Flywheel.

## Documentation

The documentation of the gear can be found
[here](https://flywheel-io.gitlab.io/scientific-solutions/gears/validated/validated-file-metadata-importer/index.html).

## Contributing

Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) file for information on how to
contribute to the gear.
journal-styles 1.1.0
Package for producing consistent figure dimensions for scientific journals
License: MIT
Requires Python: <4.0,>=3.9

# journal_styles

A package to design figures for scientific journals that authomatically adapt to each journal style.

## Installation 

Install the packagge via pip
```bash
pip install journal-styles
```
then run
```bash
python -m journal_styles install
```
In some older installations of jupyter or jupyterlab you may need to add the line
```python
c.InlineBackend.rc = { }
```
in a configuration file that is typically found in
```bash
<home>/.ipython/profile_default/ipython_kernel_config.py
```
Otherwise the matplotlibrc parameters set by this package may be overridden.

## Usage

Most users will only need the class ```Figure_Frame```
```python
import matplotlib.pyplot as plt
from journal_styles import Figure_Frame
```
an instance of the class for a simple figure can be initializad as
```python
ff = Figure_Frame()
```
and used as
```python
plt.figure(figsize = ff.figsize)
plt.axes(ff.rects[0])
```
See ```Figure_Frame``` docstring for options for more complex figures.

See the notebook examples/tutorial.ipynb in the project repository for more advanced usage. 

## Updating styles

```bash
python -m journal_styles update-styles
```
Will update the styles in the local styles directory and copy to matplotlib config directory.
Run after adding or modifying journal parameters.

## Uninstalling

1) Go to matplotlib configuration directory, delete matplotlibrc file and reinstate the previous matplotlibrc file.
Files that have been substituted have been backupped by appending the string ```_backup_<time>```.  
2) Go to matplotlib configuration directory \stylelib and delete the undesired .mplstyle files.
3) Execute 
```bash 
pip uninstall journal-styles
```

## Repository

This project is developed and maintained at https://gitlab.com/itorre/journal-styles