japanize-matplotlib icon indicating copy to clipboard operation
japanize-matplotlib copied to clipboard

install & import するだけで matplotlib を日本語表示対応させる

Results 9 japanize-matplotlib issues
Sort by recently updated
recently updated
newest added

大変便利なパッケージの開発、ありがとうございます。 ## 問題 Python 3.12.x で、`pip install`を利用してこちらのパッケージを利用しようとすると`no module error`で動作しない ## 再現 - Python 3.12 - japanize_matplotlib 1.1.3 ### 仮想環境の作成 ``` $pipenv --python 3.12 $pipenv install matplotlib japanize_matplotlib ``` ### ソースコード...

## Anacondaでのアーキテクチャー指定に関するご質問およびconda-forgeチャンネル経由のインストールについて 非常に有用なPythonパッケージの開発ありがとうございます。 anacondaを用いたインストール方法をすでに提供いただいている (#18) かと思うのですが、 アーキテクチャをMac OSのみに指定しておられると思います。 - https://anaconda.org/uehara1414/japanize-matplotlib こちら特別な理由等ございますでしょうか。 `pip install`したパッケージはWindows, linuxで問題なく動作しますので疑問に思い、ご質問差し上げました。 もし上記に特別な理由等ございませんでしたら、私のほうでアーキテクチャ依存を外した上で`conda-forge`チャンネル経由で当該パッケージをインストールできるようにさせていただきたいのですが、ご承認いただけませんでしょうか。 ライセンス上不要かと存じますが、念の為ご連絡差し上げました。 お忙しいところ大変恐縮ですが、お返事いただけますと幸いです。 何卒よろしくお願いいたします。

relates #26 叩き台を作成しました。

Bumps [bleach](https://github.com/mozilla/bleach) from 3.1.0 to 3.3.0. Changelog Sourced from bleach's changelog. Version 3.3.0 (February 1st, 2021) Backwards incompatible changes clean escapes HTML comments even when strip_comments=False Security fixes Fix bug...

dependencies

Bumps [pygments](https://github.com/pygments/pygments) from 2.5.2 to 2.7.4. Release notes Sourced from pygments's releases. 2.7.4 Updated lexers: Apache configurations: Improve handling of malformed tags (#1656) CSS: Add support for variables (#1633, #1666)...

dependencies

Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.25.8 to 1.26.5. Release notes Sourced from urllib3's releases. 1.26.5 :warning: IMPORTANT: urllib3 v2.0 will drop support for Python 2: Read more in the v2.0 Roadmap Fixed...

dependencies

Bumps [certifi](https://github.com/certifi/python-certifi) from 2019.11.28 to 2022.12.7. Commits 9e9e840 2022.12.07 b81bdb2 2022.09.24 939a28f 2022.09.14 aca828a 2022.06.15.2 de0eae1 Only use importlib.resources's new files() / Traversable API on Python ≥3.11 ... b8eb5e9 2022.06.15.1...

dependencies

`import japanize_matplotlib`の位置によってエラーが発生する。 エラーが発生するケース: ``` import matplotlib.pyplot as plt import japanize_matplotlib plt.style.use('dark_background') ``` エラーが発生しないケース: ``` import matplotlib.pyplot as plt plt.style.use('dark_background') import japanize_matplotlib ```

### 変更箇所 - Github Actions(workflow)の追加 - pytestを使ったテストコードの追加 - Pipfileの修正 - Pipfile.lockの削除 #### Github Actions(workflow)の追加 windows/mac/ubuntu各osに対して下記テストを実行、動作確認をするworkflowファイルを追加しました。またpython3.6-3.8に対してテストを実行しています。 #### pytestを使ったテストコードの追加 フォントファイルが正しく配置されているか、またmatplotlib側で配置されたフォントのパスが正しく認識されているかという観点でテストコードを作成しました。 #### Pipfileの修正 Pipfileのrequires部分にpython 3.6と記述されているものをworkflow動作のため、取り除きました。 またpytestを使用するためdev-packagesに追加しています。 #### Pipfile.lockの削除 Pipfile.lockの必要性を感じなかったため削除しました。