ujimushi(@旧sradjp(15364))の日記

旧スラドの日記の引越先です

勝手に回答

How to not plot axis ticks on top and right in Plots.jl with GR backend?[勝手に回答]

今回も勝手に回答御用達サイトJulia Discourseから,How to not plot axis ticks on top and right in Plots.jl with GR backend?という質問です。 :boxのスタイルで,上と右のtickを消したい,ということのようです。 私が提案する解決策としては,:semiの…

How to custom unicode completions?[勝手に回答]

やっぱり続くよ勝手に回答。今回は How to custom unicode completions?。いつものDiscourse julialangからの質問です。 というか後数時間も経つといっぱい回答が出てると思いますが… Julia言語のREPLのunicode補完をカスタマイズしたいんだけど,どうしたら…

How to check what other packages an installed package uses?[勝手に回答]

まだまだ続くよどこまでも。勝手に続く勝手に回答シリーズ。今回もJuliaLang Discourseから How to check what other packages an installed package uses?という質問です。 実は私が過去に書いた日記にujimushiの日記: julia言語でインストールしているパ…

Using Luxor.Table to visualize Julia 2D matrix results in transposed view [勝手に回答]

調子に乗って続けて書いてみる「勝手に回答」シリーズ。今回は Using Luxor.Table to visualize Julia 2D matrix results in transposed view 。前回に引き続きJulia Discourseの質問です。 Luxor.TableとJuliaの二次元行列を一次元で参照していく時の順番が…

Julia Error: InitError when trying to use Plots in Python via JuliaCall [勝手に回答]

少し間が開いた「勝手に回答」シリーズ。今回はJulia Error: InitError when trying to use Plots in Python via JuliaCall,Julia Discourseからの質問です。 うまくいかない原因は,おそらくJulia言語は1.10.2であるにもかかわらず, python用には1.10.0が…

複数の制約があるなかでの価値最大化。(ナップサック問題応用) ~勝手に回答

久しぶりの「勝手に回答」シリーズ。今回はTeratailの 複数の制約があるなかでの価値最大化。(ナップサック問題応用) です。 質問では「Pythonで」ということでしたがPythonはよく分からないので, 自分のためのJuliaのJuMPの勉強としてJulia言語で実装して…

別のodsファイルに書き込む方法が分からない

勝手に続く勝手に回答シリーズ。今回は,「別のodsファイルに書き込む方法が分からない」。 ask libreofficeからの質問です。 要するに自分のファイルじゃなく,他のファイルでThisComponent.Sheets(0).getCellByPosition(0,0).Stringと同じようなことをした…

Julia documentation not available from Firefox

勝手に続いている勝手に回答シリーズ。今回もJulia Discourse forumの質問で 「Julia documentation not available from Firefox」です。 これは,ubuntuのsnap版のfirefoxが 他のsnapモジュールのファイルを参照できない .で始まるフォルダ(linuxでは通常の…

Remove spacing between subplots in PlotlyJS

勝手に始まった「勝手に回答」シリーズ。今回はRemove spacing between subplots in PlotlyJS, Julia Discourse forumの質問です。 内容は私のつたない英語能力で日本語に訳すと「PlotlyJSのsubplot間の空白を削除したいんだけどどうしたらいい?」 この質問…